|
@@ -10,6 +10,9 @@ class MyController extends Controller
|
|
{
|
|
{
|
|
/**
|
|
/**
|
|
* @api {get} /api/my/index 个人首页(index)
|
|
* @api {get} /api/my/index 个人首页(index)
|
|
|
|
+ * @apiDescription 个人首页(index)
|
|
|
|
+ * @apiGroup My
|
|
|
|
+ * @apiPermission Passport
|
|
* @apiSuccessExample {json} Success-Response:
|
|
* @apiSuccessExample {json} Success-Response:
|
|
* HTTP/1.1 200 O* "status": true,
|
|
* HTTP/1.1 200 O* "status": true,
|
|
* "status_code": 0,
|
|
* "status_code": 0,
|
|
@@ -72,7 +75,7 @@ class MyController extends Controller
|
|
/**
|
|
/**
|
|
* @api {get} /api/my/persona 个人信息(persona)
|
|
* @api {get} /api/my/persona 个人信息(persona)
|
|
* @apiDescription 个人信息(persona)
|
|
* @apiDescription 个人信息(persona)
|
|
- * @apiGroup Auth
|
|
|
|
|
|
+ * @apiGroup My
|
|
* @apiPermission Passport
|
|
* @apiPermission Passport
|
|
* @apiVersion 0.1.0
|
|
* @apiVersion 0.1.0
|
|
* @apiSuccessExample {json} Success-Response:
|
|
* @apiSuccessExample {json} Success-Response:
|
|
@@ -116,7 +119,7 @@ class MyController extends Controller
|
|
/**
|
|
/**
|
|
* @api {get} /api/my/recharge 充值(recharge)
|
|
* @api {get} /api/my/recharge 充值(recharge)
|
|
* @apiDescription 充值(recharge)
|
|
* @apiDescription 充值(recharge)
|
|
- * @apiGroup Auth
|
|
|
|
|
|
+ * @apiGroup My
|
|
* @apiPermission Passport
|
|
* @apiPermission Passport
|
|
* @apiVersion 0.1.0
|
|
* @apiVersion 0.1.0
|
|
* @apiSuccessExample {json} Success-Response:
|
|
* @apiSuccessExample {json} Success-Response:
|
|
@@ -133,7 +136,7 @@ class MyController extends Controller
|
|
/**
|
|
/**
|
|
* @api {get} /api/my/system_info 系统消息(systemInfo)
|
|
* @api {get} /api/my/system_info 系统消息(systemInfo)
|
|
* @apiDescription 系统消息(systemInfo)
|
|
* @apiDescription 系统消息(systemInfo)
|
|
- * @apiGroup Auth
|
|
|
|
|
|
+ * @apiGroup My
|
|
* @apiPermission Passport
|
|
* @apiPermission Passport
|
|
* @apiVersion 0.1.0
|
|
* @apiVersion 0.1.0
|
|
* @apiSuccessExample {json} Success-Response:
|
|
* @apiSuccessExample {json} Success-Response:
|
|
@@ -171,7 +174,7 @@ class MyController extends Controller
|
|
/**
|
|
/**
|
|
* @api {get} /api/my/reply_my 回复我的(replyMy)
|
|
* @api {get} /api/my/reply_my 回复我的(replyMy)
|
|
* @apiDescription 回复我的(replyMy)
|
|
* @apiDescription 回复我的(replyMy)
|
|
- * @apiGroup Auth
|
|
|
|
|
|
+ * @apiGroup My
|
|
* @apiPermission Passport
|
|
* @apiPermission Passport
|
|
* @apiVersion 0.1.0
|
|
* @apiVersion 0.1.0
|
|
* @apiSuccessExample {json} Success-Response:
|
|
* @apiSuccessExample {json} Success-Response:
|
|
@@ -233,7 +236,7 @@ class MyController extends Controller
|
|
/**
|
|
/**
|
|
* @api {post} /api/my/my_reply 我的回复(myReply)
|
|
* @api {post} /api/my/my_reply 我的回复(myReply)
|
|
* @apiDescription 我的回复(recharge)
|
|
* @apiDescription 我的回复(recharge)
|
|
- * @apiGroup Auth
|
|
|
|
|
|
+ * @apiGroup My
|
|
* @apiParam {text} content 回复内容
|
|
* @apiParam {text} content 回复内容
|
|
* @apiParam {int} comment_id 评论ID
|
|
* @apiParam {int} comment_id 评论ID
|
|
* @apiPermission Passport
|
|
* @apiPermission Passport
|
|
@@ -282,7 +285,7 @@ class MyController extends Controller
|
|
/**
|
|
/**
|
|
* @api {get} /api/my/dream 我的梦想(dream)
|
|
* @api {get} /api/my/dream 我的梦想(dream)
|
|
* @apiDescription 我的梦想(recharge)
|
|
* @apiDescription 我的梦想(recharge)
|
|
- * @apiGroup Auth
|
|
|
|
|
|
+ * @apiGroup My
|
|
* @apiPermission Passport
|
|
* @apiPermission Passport
|
|
* @apiVersion 0.1.0
|
|
* @apiVersion 0.1.0
|
|
* @apiSuccessExample {json} Success-Response:
|
|
* @apiSuccessExample {json} Success-Response:
|
|
@@ -325,7 +328,7 @@ class MyController extends Controller
|
|
/**
|
|
/**
|
|
* @api {get} /api/my/collection 我的收藏(collection)
|
|
* @api {get} /api/my/collection 我的收藏(collection)
|
|
* @apiDescription 我的收藏(recharge)
|
|
* @apiDescription 我的收藏(recharge)
|
|
- * @apiGroup Auth
|
|
|
|
|
|
+ * @apiGroup My
|
|
* @apiPermission Passport
|
|
* @apiPermission Passport
|
|
* @apiVersion 0.1.0
|
|
* @apiVersion 0.1.0
|
|
* @apiSuccessExample {json} Success-Response:
|
|
* @apiSuccessExample {json} Success-Response:
|
|
@@ -342,7 +345,7 @@ class MyController extends Controller
|
|
/**
|
|
/**
|
|
* @api {get} /api/my/setting 设置(setting)
|
|
* @api {get} /api/my/setting 设置(setting)
|
|
* @apiDescription 设置(setting)
|
|
* @apiDescription 设置(setting)
|
|
- * @apiGroup Auth
|
|
|
|
|
|
+ * @apiGroup My
|
|
* @apiPermission Passport
|
|
* @apiPermission Passport
|
|
* @apiVersion 0.1.0
|
|
* @apiVersion 0.1.0
|
|
* @apiSuccessExample {json} Success-Response:
|
|
* @apiSuccessExample {json} Success-Response:
|
|
@@ -360,7 +363,7 @@ class MyController extends Controller
|
|
* @api {post} /api/my/add_dream 发布梦想(addDream)
|
|
* @api {post} /api/my/add_dream 发布梦想(addDream)
|
|
* @apiDescription 发布梦想(addDream)
|
|
* @apiDescription 发布梦想(addDream)
|
|
* @apiParam {string} pic 梦想图片 数组
|
|
* @apiParam {string} pic 梦想图片 数组
|
|
- * @apiGroup Auth
|
|
|
|
|
|
+ * @apiGroup My
|
|
* @apiPermission Passport
|
|
* @apiPermission Passport
|
|
* @apiVersion 0.1.0
|
|
* @apiVersion 0.1.0
|
|
* @apiSuccessExample {json} Success-Response:
|
|
* @apiSuccessExample {json} Success-Response:
|
|
@@ -410,7 +413,7 @@ class MyController extends Controller
|
|
/**
|
|
/**
|
|
* @api {get} /api/my/dream_about 梦想介绍(dreamAbout)
|
|
* @api {get} /api/my/dream_about 梦想介绍(dreamAbout)
|
|
* @apiDescription 梦想介绍(dreamAbout)
|
|
* @apiDescription 梦想介绍(dreamAbout)
|
|
- * @apiGroup Auth
|
|
|
|
|
|
+ * @apiGroup My
|
|
* @apiPermission Passport
|
|
* @apiPermission Passport
|
|
* @apiVersion 0.1.0
|
|
* @apiVersion 0.1.0
|
|
* @apiSuccessExample {json} Success-Response:
|
|
* @apiSuccessExample {json} Success-Response:
|