long 6 年之前
父节点
当前提交
0f8b229d6f
共有 2 个文件被更改,包括 149 次插入24 次删除
  1. 3 11
      SUMMARY.md
  2. 146 13
      sub_directory_1/article1.md

+ 3 - 11
SUMMARY.md

@@ -2,17 +2,9 @@
 
 ---
 
-* [基础使用](p1.md)
-	* [Gitbook 的工作机制](sub_directory_1/article1.md)
-	* [Gitbook 是如何被我们使用的](sub_directory_1/article2.md)1
-	* [创建一个 Gitbook](sub_directory_2/article1.md)
-	* [编辑和创建页面](sub_directory_2/article2.md)
-	* [编辑页面左侧目录](sub_directory_2/article2.md)
-* [高级用法](p1.md)
-	* [修改页面样式](sub_directory_2/article1.md)
-	* [加载其它插件](sub_directory_2/article1.md)
-	* [更多定制](sub_directory_2/article2.md)
-
+* [多玩图库接口](p1.md)
+	* [多玩图库小程接口](sub_directory_1/article1.md)
+	* [Gitbook 是如何被我们使用的]
 ---
 	
 * [结语](README.md)

+ 146 - 13
sub_directory_1/article1.md

@@ -1,18 +1,151 @@
-# ![Markdown Here logo](https://raw.github.com/adam-p/markdown-here/master/src/common/images/icon48.png) Markdown Here
+## 图库小程序首页接口列表
+   
 
-[**Visit the website.**](http://markdown-here.com)<br>
-[**Get it for Chrome.**](https://chrome.google.com/webstore/detail/elifhakcjgalahccnjkneoccemfahfoa)<br>
-[**Get it for Firefox.**](https://addons.mozilla.org/en-US/firefox/addon/markdown-here/)<br>
-[**Get it for Safari.**](https://s3.amazonaws.com/markdown-here/markdown-here.safariextz)<br>
-[**Get it for Thunderbird and Postbox.**](https://addons.mozilla.org/en-US/thunderbird/addon/markdown-here/)<br>
-[**Get it for Opera.**](https://addons.opera.com/en/extensions/details/markdown-here/)<br>
-[**Discuss it and ask questions in the Google Group.**](https://groups.google.com/forum/?fromgroups#!forum/markdown-here/)<br>
+## 获取搞笑/今日囧图/吐槽囧图/段子精选/十万个冷笑话/日式冷笑话
+
+* #### /api/actionAjaxWeiRecommendGallery
+
+---
+
+获取图库图集
+
+##### 是否需要权限验证
+
+---
+
+否
+
+##### 请求参数
+
+---
+
+|  必选 | 类型 | 说明 | 默认|描述|
+|:-------------:|:-------------|:-------------|:-------------|:-------------|
+| page | false | int | 页码|1|
+| pageSize | false | int | 页数|30|
+| callback | false | function | 回调|1|
+
+##### 请求方法
+
+---
+
+GET|POST
+
+##### 调用样例
+
+---
+
+```
+http://tu.duowan.com/?r=api/ajaxWeiRecommendGallery
+```
+
+##### 返回结果
+
+---
+
+*** JSON示例 ***
+
+```
+
+{"hasMore":true,"total":"7111","page":1,"pageSize":30,"gallerys":[{"gallery_id":"137589","cover_url":"http:\/\/s1.dwstatic.com\/group1\/M00\/4A\/40\/4a402d48666c2893e04d8bbd4d413d1b3752.jpg","created":"1537336502","title":"\u5410\u69fd\u56e7\u56fe","uetime":"1\u5c0f\u65f6\u524d","description":"","periods":"1334\u5f39"},{"gallery_id":"137588","cover_url":"http:\/\/s1.dwstatic.com\/group1\/M00\/50\/7F\/9a3a7ceb947257e01e24efb73c93d8fd.jpg","created":"1537293353","title":"\u4eca\u65e5\u56e7\u56fe","uetime":"13\u5c0f\u65f6\u524d","description":"","periods":"2461\u671f"}}]}
+
+```
+
+## 获取搞笑/今日囧图最新的三个图集
+
+* #### /api/actionAjaxWeiNewestGallery
+
+---
+
+获取搞笑/今日囧图最新的三个图集
+
+##### 是否需要权限验证
+
+---
+
+否
+
+##### 请求参数
+
+---
+
+无
+
+##### 请求方法
+
+---
+
+GET|POST
+
+##### 调用样例
+
+---
+
+```
+http://tu.duowan.com/?r=api/actionAjaxWeiNewestGallery
+```
+
+##### 返回结果
+
+---
+
+*** JSON示例 ***
+
+```
+略
+
+```
+
+## 获取某个标签的所有图集
+
+* #### /api/actionAjaxWeiToUrgeMore
+
+---
+
+获取某个标签的所有图集
+
+##### 是否需要权限验证
+
+---
+
+否
+
+##### 请求参数
+
+---
+
+|  必选 | 类型 | 说明 | 默认|描述|
+|:-------------:|:-------------|:-------------|:-------------|:-------------|
+| page | false | int | 页码|1|
+| pageSize | false | int | 页数|30|
+| callback | false | function | 回调|1|
+| tagNum | false | function | 回调|2/搞笑GIF|
+
+##### 请求方法
+
+---
+
+GET|POST
+
+##### 调用样例
+
+---
+
+```
+http://tu.duowan.com/?r=api/ajaxWeiToUrgeMore
+```
+
+##### 返回结果
+
+---
+
+*** JSON示例 ***
+
+```
+略
+
+```
 
-*Markdown Here* is a Google Chrome, Firefox, Safari, Opera, and Thunderbird extension that lets you write email<sup>&dagger;</sup> in Markdown<sup>&Dagger;</sup> and render them before sending. It also supports syntax highlighting (just specify the language in a fenced code block).
 
-Writing email with code in it is pretty tedious. Writing Markdown with code in it is easy. I found myself writing email in Markdown in the Github in-browser editor, then copying the preview into email. This is a pretty absurd workflow, so I decided create a tool to write and render Markdown right in the email.
 
-To discover what can be done with Markdown in *Markdown Here*, check out the [Markdown Here Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Here-Cheatsheet) and the other [wiki pages](https://github.com/adam-p/markdown-here/wiki).
 
-<sup>&dagger;: And Google Groups posts, and Blogger posts, and Evernote notes, and Wordpress posts! [See more](#compatibility).</sup><br>
-<sup>&Dagger;: And TeX mathematical formulae!</sup>