This commit is contained in:
aozhiwei 2023-09-29 15:32:09 +08:00
parent 12c11fa0e5
commit d5bc45a8fa

View File

@ -24,15 +24,12 @@ module.exports = class {
{ {
'method': 'GET', 'method': 'GET',
'name': 'info', 'name': 'info',
'desc': 'user info', 'desc': '获取用户信息',
'group': 'User', 'group': 'User',
'url': 'api/v1/user/info/:user_id', 'url': 'api/v1/user/info/:user_id',
'uri_params': [ 'uri_params': [
['user_id', '', 'user_id'], ['user_id', '', 'user_id'],
], ],
'params': [
['user_name', '', 'user_name', 'optional'],
],
'response': [ 'response': [
new common.RspHead(), new common.RspHead(),
] ]