chore: add category

This commit is contained in:
suxiaoxin 2017-08-11 11:54:11 +08:00
parent 52c6f6250c
commit 3d75a9e75d
2 changed files with 12 additions and 0 deletions

View File

@ -455,6 +455,9 @@ class userController extends baseController {
* @interface /user/upload_avatar
* @method POST
* @param {*} basecode base64编码通过h5 api传给后端
* @category user
* @returns {Object}
* @example
*/
async uploadAvatar(ctx) {
@ -495,6 +498,9 @@ class userController extends baseController {
* @interface /user/avatar
* @method GET
* @param {*} uid
* @category user
* @returns {Object}
* @example
*/
async avatar(ctx) {

View File

@ -942,6 +942,9 @@ var userController = function (_baseController) {
* @interface /user/upload_avatar
* @method POST
* @param {*} basecode base64编码通过h5 api传给后端
* @category user
* @returns {Object}
* @example
*/
}, {
@ -1041,6 +1044,9 @@ var userController = function (_baseController) {
* @interface /user/avatar
* @method GET
* @param {*} uid
* @category user
* @returns {Object}
* @example
*/
}, {