mirror of https://github.com/halo-dev/halo
doc: update swagger contact email. (#1147)
parent
400d7f7218
commit
6c04d5a30d
|
@ -169,7 +169,7 @@ public class SwaggerConfiguration {
|
||||||
.description("Documentation for Halo API")
|
.description("Documentation for Halo API")
|
||||||
.version(HALO_VERSION)
|
.version(HALO_VERSION)
|
||||||
.termsOfServiceUrl("https://github.com/halo-dev")
|
.termsOfServiceUrl("https://github.com/halo-dev")
|
||||||
.contact(new Contact("halo-dev", "https://github.com/halo-dev/halo/issues", "i#ryanc.cc"))
|
.contact(new Contact("halo-dev", "https://github.com/halo-dev/halo/issues", "hi@halo.run"))
|
||||||
.license("GNU General Public License v3.0")
|
.license("GNU General Public License v3.0")
|
||||||
.licenseUrl("https://github.com/halo-dev/halo/blob/master/LICENSE")
|
.licenseUrl("https://github.com/halo-dev/halo/blob/master/LICENSE")
|
||||||
.build();
|
.build();
|
||||||
|
|
|
@ -1,143 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
<rss xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
|
||||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
|
||||||
version="2.0"
|
|
||||||
>
|
|
||||||
<channel>
|
|
||||||
<title>WordPress Demo</title>
|
|
||||||
<link>http://148.70.10.235</link>
|
|
||||||
<description>又一个WordPress站点</description>
|
|
||||||
<pubDate>Mon, 08 Jul 2019 07:27:10 +0000</pubDate>
|
|
||||||
<language>zh-CN</language>
|
|
||||||
<wp:wxr_version>1.2</wp:wxr_version>
|
|
||||||
<wp:base_site_url>http://148.70.10.235</wp:base_site_url>
|
|
||||||
<wp:base_bloge_url>http://148.70.10.235</wp:base_bloge_url>
|
|
||||||
|
|
||||||
<wp:author>
|
|
||||||
<wp:author_id>1</wp:author_id>
|
|
||||||
<wp:author_login><![CDATA[admin]]></wp:author_login>
|
|
||||||
<wp:author_email><![CDATA[i@ryanc.cc]]></wp:author_email>
|
|
||||||
<wp:author_display_name><![CDATA[admin]]></wp:author_display_name>
|
|
||||||
<wp:author_first_name><![CDATA[]]></wp:author_first_name>
|
|
||||||
<wp:author_last_name><![CDATA[]]></wp:author_last_name>
|
|
||||||
</wp:author>
|
|
||||||
|
|
||||||
|
|
||||||
<generator>https://wordpress.org/?v=4.8</generator>
|
|
||||||
|
|
||||||
<item>
|
|
||||||
<title>世界,您好!</title>
|
|
||||||
<link>http://148.70.10.235/index.php/2019/07/08/hello-world/</link>
|
|
||||||
<pubDate>Mon, 08 Jul 2019 03:10:55 +0000</pubDate>
|
|
||||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
|
||||||
<guid isPermaLink="false">http://148.70.10.235/?p=1</guid>
|
|
||||||
<description>123123131</description>
|
|
||||||
<content:encoded><![CDATA[欢迎使用WordPress。这是您的第一篇文章。编辑或删除它,然后开始写作吧!
|
|
||||||
<h2>hello二级标题</h2>
|
|
||||||
<ul>
|
|
||||||
<li>list1</li>
|
|
||||||
<li>list2</li>
|
|
||||||
<li>list3</li>
|
|
||||||
</ul>
|
|
||||||
<h3>hello 三级标题</h3>
|
|
||||||
|
|
||||||
<blockquote>daidjoadoiajdoijo这是引用
|
|
||||||
|
|
||||||
</blockquote>]]></content:encoded>
|
|
||||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
|
||||||
<wp:post_id>1</wp:post_id>
|
|
||||||
<wp:post_date><![CDATA[2019-07-08 11:10:55]]></wp:post_date>
|
|
||||||
<wp:post_date_gmt><![CDATA[2019-07-08 03:10:55]]></wp:post_date_gmt>
|
|
||||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
|
||||||
<wp:ping_status><![CDATA[open]]></wp:ping_status>
|
|
||||||
<wp:post_name><![CDATA[hello-world]]></wp:post_name>
|
|
||||||
<wp:status><![CDATA[publish]]></wp:status>
|
|
||||||
<wp:post_parent>0</wp:post_parent>
|
|
||||||
<wp:menu_order>0</wp:menu_order>
|
|
||||||
<wp:post_type><![CDATA[post]]></wp:post_type>
|
|
||||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
|
||||||
<wp:is_sticky>0</wp:is_sticky>
|
|
||||||
<category domain="post_format" nicename="post-format-aside"><![CDATA[日志]]></category>
|
|
||||||
<category domain="post_tag" nicename="%e6%a0%87%e7%ad%be1"><![CDATA[标签1]]></category>
|
|
||||||
<category domain="post_tag" nicename="%e6%a0%87%e7%ad%be2"><![CDATA[标签2]]></category>
|
|
||||||
<category domain="category" nicename="%e8%bf%99%e6%98%af%e5%88%86%e7%b1%bb"><![CDATA[这是分类]]></category>
|
|
||||||
<wp:postmeta>
|
|
||||||
<wp:meta_key><![CDATA[_edit_last]]></wp:meta_key>
|
|
||||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
|
||||||
</wp:postmeta>
|
|
||||||
<wp:postmeta>
|
|
||||||
<wp:meta_key><![CDATA[_thumbnail_id]]></wp:meta_key>
|
|
||||||
<wp:meta_value><![CDATA[9]]></wp:meta_value>
|
|
||||||
</wp:postmeta>
|
|
||||||
<wp:comment>
|
|
||||||
<wp:comment_id>1</wp:comment_id>
|
|
||||||
<wp:comment_author><![CDATA[一位WordPress评论者]]></wp:comment_author>
|
|
||||||
<wp:comment_author_email><![CDATA[wapuu@wordpress.example]]></wp:comment_author_email>
|
|
||||||
<wp:comment_author_url>https://wordpress.org/</wp:comment_author_url>
|
|
||||||
<wp:comment_author_IP><![CDATA[]]></wp:comment_author_IP>
|
|
||||||
<wp:comment_date><![CDATA[2019-07-08 11:10:55]]></wp:comment_date>
|
|
||||||
<wp:comment_date_gmt><![CDATA[2019-07-08 03:10:55]]></wp:comment_date_gmt>
|
|
||||||
<wp:comment_content><![CDATA[嗨,这是一条评论。
|
|
||||||
要开始审核、编辑及删除评论,请访问仪表盘的“评论”页面。
|
|
||||||
评论者头像来自<a href="https://gravatar.com">Gravatar</a>。]]></wp:comment_content>
|
|
||||||
<wp:comment_approved><![CDATA[1]]></wp:comment_approved>
|
|
||||||
<wp:comment_type><![CDATA[]]></wp:comment_type>
|
|
||||||
<wp:comment_parent>0</wp:comment_parent>
|
|
||||||
<wp:comment_user_id>0</wp:comment_user_id>
|
|
||||||
</wp:comment>
|
|
||||||
<wp:comment>
|
|
||||||
<wp:comment_id>2</wp:comment_id>
|
|
||||||
<wp:comment_author><![CDATA[admin]]></wp:comment_author>
|
|
||||||
<wp:comment_author_email><![CDATA[i@ryanc.cc]]></wp:comment_author_email>
|
|
||||||
<wp:comment_author_url></wp:comment_author_url>
|
|
||||||
<wp:comment_author_IP><![CDATA[60.160.204.183]]></wp:comment_author_IP>
|
|
||||||
<wp:comment_date><![CDATA[2019-07-08 15:26:57]]></wp:comment_date>
|
|
||||||
<wp:comment_date_gmt><![CDATA[2019-07-08 07:26:57]]></wp:comment_date_gmt>
|
|
||||||
<wp:comment_content><![CDATA[这是评论回复]]></wp:comment_content>
|
|
||||||
<wp:comment_approved><![CDATA[1]]></wp:comment_approved>
|
|
||||||
<wp:comment_type><![CDATA[]]></wp:comment_type>
|
|
||||||
<wp:comment_parent>1</wp:comment_parent>
|
|
||||||
<wp:comment_user_id>1</wp:comment_user_id>
|
|
||||||
</wp:comment>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<title>这是文章2222</title>
|
|
||||||
<link>http://148.70.10.235/index.php/2019/07/08/%e8%bf%99%e6%98%af%e6%96%87%e7%ab%a02222/</link>
|
|
||||||
<pubDate>Mon, 08 Jul 2019 07:20:18 +0000</pubDate>
|
|
||||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
|
||||||
<guid isPermaLink="false">http://148.70.10.235/?p=6</guid>
|
|
||||||
<description>dadadadada</description>
|
|
||||||
<content:encoded><![CDATA[<h3>三级标题</h3>
|
|
||||||
<ul>
|
|
||||||
<li>列表</li>
|
|
||||||
<li>list2</li>
|
|
||||||
<li>list3</li>
|
|
||||||
</ul>
|
|
||||||
]]></content:encoded>
|
|
||||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
|
||||||
<wp:post_id>6</wp:post_id>
|
|
||||||
<wp:post_date><![CDATA[2019-07-08 15:20:18]]></wp:post_date><!-- 要这个日期 -->
|
|
||||||
<wp:post_date_gmt><![CDATA[2019-07-08 07:20:18]]></wp:post_date_gmt>
|
|
||||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
|
||||||
<wp:ping_status><![CDATA[open]]></wp:ping_status>
|
|
||||||
<wp:post_name><![CDATA[%e8%bf%99%e6%98%af%e6%96%87%e7%ab%a02222]]></wp:post_name>
|
|
||||||
<wp:status><![CDATA[publish]]></wp:status>
|
|
||||||
<wp:post_parent>0</wp:post_parent>
|
|
||||||
<wp:menu_order>0</wp:menu_order>
|
|
||||||
<wp:post_type><![CDATA[post]]></wp:post_type>
|
|
||||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
|
||||||
<wp:is_sticky>0</wp:is_sticky>
|
|
||||||
<category domain="post_tag" nicename="hello"><![CDATA[Hello]]></category>
|
|
||||||
<category domain="category" nicename="hello%e6%96%87%e7%ab%a0"><![CDATA[Hello文章]]></category>
|
|
||||||
<category domain="post_tag" nicename="java"><![CDATA[Java]]></category>
|
|
||||||
<category domain="post_tag" nicename="test"><![CDATA[Test]]></category>
|
|
||||||
<category domain="category" nicename="test%e6%96%87%e7%ab%a0"><![CDATA[Test文章]]></category>
|
|
||||||
<wp:postmeta>
|
|
||||||
<wp:meta_key><![CDATA[_edit_last]]></wp:meta_key>
|
|
||||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
|
||||||
</wp:postmeta>
|
|
||||||
</item>
|
|
||||||
</channel>
|
|
||||||
</rss>
|
|
Loading…
Reference in New Issue