This commit is contained in:
aozhiwei 2021-10-14 19:44:54 +08:00
parent fea48c2c6e
commit f9e060db39
2 changed files with 30 additions and 0 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@ config
__pycache__/
res
out/
public/

29
doc/game2005api.php Normal file
View File

@ -0,0 +1,29 @@
<?php
class Game2005ApiDoc
{
/**
* @api {POST} /api/users/basic_update 更新个人基本信息
* @apiPermission none
* @apiGroup users
* @apiDescription 更新个人基本信息
* @apiParam {String} name 用户名
* @apiParam {String} avatar_url 头像
* @apiParam {String} company 公司名
* @apiParam {String} job 职位
* @apiParam {String} gender 性别
* @apiParam {String} city 城市
* @apiParam {String} birthday 出生日期
* @apiParam {String} industry 所属行业
* @apiParamExample {String} 请求样例:
* https://plus.aishui.ren/api/users/basic_update
* @apiSuccessExample {json} Success-Response:
* HTTP/1.1 200 OK
* {
* "errorCode": 0, //错误码 ╎
* "message": "", //错误描述 ╎
*
* }
*/
}