yapi add help info

This commit is contained in:
sean 2017-07-12 12:22:10 +08:00
parent daefcada6f
commit 6240eac465
2 changed files with 4 additions and 4 deletions

View File

@ -158,8 +158,8 @@ class userController extends baseController{
}
/**
* 获取用户列表
* @interface /user/list
* 根据用户个人信息
* @interface /user/find
* @method GET
* @param id 用户uid
* @category user
@ -183,7 +183,7 @@ class userController extends baseController{
}
/**
* 获取用户列表,只有admin用户才有此权限
* 删除用户,只有admin用户才有此权限
* @interface /user/del
* @method POST
* @param id 用户uid

View File

@ -38,7 +38,7 @@ createAction('group', 'del', 'post', 'del')
createAction('user', 'login', 'post', 'login')
createAction('user', 'reg', 'post', 'reg')
createAction('user', 'list', 'get', 'list')
createAction('user', 'findById', 'post', 'findById')
createAction('user', 'find', 'post', 'findById')
createAction('user', 'update', 'post', 'update')
createAction('user', 'del', 'post', 'del')
createAction('user', 'status', 'get', 'getLoginStatus')