123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490 |
- ## Autogenerated by Scribe. DO NOT MODIFY.
- name: Endpoints
- description: ''
- endpoints:
- -
- httpMethods:
- - GET
- uri: 'api/scribe/update-token/{mobile}'
- metadata:
- groupName: Endpoints
- groupDescription: ''
- subgroup: ''
- subgroupDescription: ''
- title: 更新API文档的认证Token
- description: 通过手机号获取验证码并登录,然后更新API文档的认证Token
- authenticated: true
- custom: []
- headers:
- Authorization: 'Bearer 68|ynrtTr0JPkmVmV80Cd0o2PIapOZk8mA3xDWnpqt1b3045d50'
- urlParameters:
- mobile:
- name: mobile
- description: 手机号码.
- required: true
- example: '13800138000'
- type: string
- enumValues: []
- exampleWasSpecified: true
- nullable: false
- custom: []
- cleanUrlParameters:
- mobile: '13800138000'
- queryParameters: []
- cleanQueryParameters: []
- bodyParameters: []
- cleanBodyParameters: []
- fileParameters: []
- responses:
- -
- status: 200
- content: |-
- {
- "code": 200,
- "message": "Token更新成功",
- "data": {
- "token": "your_new_token_here"
- }
- }
- headers: []
- description: ''
- custom: []
- responseFields: []
- auth:
- - headers
- - Authorization
- - 'Bearer Bearer {YOUR_AUTH_KEY}'
- controller: null
- method: null
- route: null
- custom: []
- -
- httpMethods:
- - POST
- uri: api/account/send-code
- metadata:
- groupName: Endpoints
- groupDescription: ''
- subgroup: ''
- subgroupDescription: ''
- title: '[账户管理] 发送验证码'
- description: 向指定手机号发送验证码
- authenticated: true
- custom: []
- headers:
- Authorization: 'Bearer 68|ynrtTr0JPkmVmV80Cd0o2PIapOZk8mA3xDWnpqt1b3045d50'
- Content-Type: application/json
- urlParameters: []
- cleanUrlParameters: []
- queryParameters: []
- cleanQueryParameters: []
- bodyParameters:
- mobile:
- name: mobile
- description: 手机号码.
- required: true
- example: '13800138000'
- type: string
- enumValues: []
- exampleWasSpecified: true
- nullable: false
- custom: []
- cleanBodyParameters:
- mobile: '13800138000'
- fileParameters: []
- responses:
- -
- status: 200
- content: |-
- {
- "code": 200,
- "message": "验证码发送成功",
- "data": null
- }
- headers: []
- description: ''
- custom: []
- responseFields: []
- auth:
- - headers
- - Authorization
- - 'Bearer Bearer {YOUR_AUTH_KEY}'
- controller: null
- method: null
- route: null
- custom: []
- -
- httpMethods:
- - POST
- uri: api/account/login
- metadata:
- groupName: Endpoints
- groupDescription: ''
- subgroup: ''
- subgroupDescription: ''
- title: '[账户管理] 用户登录'
- description: 使用手机号和验证码登录账户
- authenticated: true
- custom: []
- headers:
- Authorization: 'Bearer 68|ynrtTr0JPkmVmV80Cd0o2PIapOZk8mA3xDWnpqt1b3045d50'
- Content-Type: application/json
- urlParameters: []
- cleanUrlParameters: []
- queryParameters: []
- cleanQueryParameters: []
- bodyParameters:
- mobile:
- name: mobile
- description: 手机号码.
- required: true
- example: '13800138000'
- type: string
- enumValues: []
- exampleWasSpecified: true
- nullable: false
- custom: []
- code:
- name: code
- description: 验证码.
- required: true
- example: '123456'
- type: string
- enumValues: []
- exampleWasSpecified: true
- nullable: false
- custom: []
- cleanBodyParameters:
- mobile: '13800138000'
- code: '123456'
- fileParameters: []
- responses:
- -
- status: 200
- content: |-
- {
- "code": 200,
- "message": "登录成功",
- "data": {
- "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
- "user": {
- "id": 1,
- "mobile": "13800138000",
- "nickname": "用户昵称"
- }
- }
- }
- headers: []
- description: ''
- custom: []
- responseFields: []
- auth:
- - headers
- - Authorization
- - 'Bearer Bearer {YOUR_AUTH_KEY}'
- controller: null
- method: null
- route: null
- custom: []
- -
- httpMethods:
- - POST
- uri: api/account/wx-login
- metadata:
- groupName: Endpoints
- groupDescription: ''
- subgroup: ''
- subgroupDescription: ''
- title: '[账户管理] 微信登录'
- description: 使用微信openid登录账户
- authenticated: true
- custom: []
- headers:
- Authorization: 'Bearer 68|ynrtTr0JPkmVmV80Cd0o2PIapOZk8mA3xDWnpqt1b3045d50'
- Content-Type: application/json
- urlParameters: []
- cleanUrlParameters: []
- queryParameters: []
- cleanQueryParameters: []
- bodyParameters:
- openid:
- name: openid
- description: 微信openid.
- required: true
- example: wx_123456789
- type: string
- enumValues: []
- exampleWasSpecified: true
- nullable: false
- custom: []
- cleanBodyParameters:
- openid: wx_123456789
- fileParameters: []
- responses:
- -
- status: 200
- content: |-
- {
- "code": 200,
- "message": "登录成功",
- "data": {
- "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
- "user": {
- "id": 1,
- "openid": "wx_123456789",
- "nickname": "微信昵称"
- }
- }
- }
- headers: []
- description: ''
- custom: []
- responseFields: []
- auth:
- - headers
- - Authorization
- - 'Bearer Bearer {YOUR_AUTH_KEY}'
- controller: null
- method: null
- route: null
- custom: []
- -
- httpMethods:
- - POST
- uri: api/account/logout
- metadata:
- groupName: Endpoints
- groupDescription: ''
- subgroup: ''
- subgroupDescription: ''
- title: '[账户管理] 用户退出'
- description: 退出当前账户登录状态
- authenticated: true
- custom: []
- headers:
- Authorization: 'Bearer 68|ynrtTr0JPkmVmV80Cd0o2PIapOZk8mA3xDWnpqt1b3045d50'
- urlParameters: []
- cleanUrlParameters: []
- queryParameters: []
- cleanQueryParameters: []
- bodyParameters: []
- cleanBodyParameters: []
- fileParameters: []
- responses:
- -
- status: 200
- content: |-
- {
- "code": 200,
- "message": "退出成功",
- "data": null
- }
- headers: []
- description: ''
- custom: []
- responseFields: []
- auth:
- - headers
- - Authorization
- - 'Bearer Bearer {YOUR_AUTH_KEY}'
- controller: null
- method: null
- route: null
- custom: []
- -
- httpMethods:
- - DELETE
- uri: api/account
- metadata:
- groupName: Endpoints
- groupDescription: ''
- subgroup: ''
- subgroupDescription: ''
- title: '[账户管理] 用户注销'
- description: 永久注销当前账户
- authenticated: true
- custom: []
- headers:
- Authorization: 'Bearer 68|ynrtTr0JPkmVmV80Cd0o2PIapOZk8mA3xDWnpqt1b3045d50'
- urlParameters: []
- cleanUrlParameters: []
- queryParameters: []
- cleanQueryParameters: []
- bodyParameters: []
- cleanBodyParameters: []
- fileParameters: []
- responses:
- -
- status: 200
- content: |-
- {
- "code": 200,
- "message": "注销成功",
- "data": null
- }
- headers: []
- description: ''
- custom: []
- responseFields: []
- auth:
- - headers
- - Authorization
- - 'Bearer Bearer {YOUR_AUTH_KEY}'
- controller: null
- method: null
- route: null
- custom: []
- -
- httpMethods:
- - POST
- uri: api/user/withdraw
- metadata:
- groupName: Endpoints
- groupDescription: ''
- subgroup: ''
- subgroupDescription: ''
- title: '[用户管理] 用户提现'
- description: 提现用户的余额
- authenticated: true
- custom: []
- headers:
- Authorization: 'Bearer 68|ynrtTr0JPkmVmV80Cd0o2PIapOZk8mA3xDWnpqt1b3045d50'
- Content-Type: application/json
- urlParameters: []
- cleanUrlParameters: []
- queryParameters: []
- cleanQueryParameters: []
- bodyParameters:
- amount:
- name: amount
- description: 提现金额.
- required: false
- example: '100.00'
- type: decimal
- enumValues: []
- exampleWasSpecified: true
- nullable: false
- custom: []
- cleanBodyParameters:
- amount: '100.00'
- fileParameters: []
- responses:
- -
- status: 200
- content: |-
- {
- "code": 200,
- "message": "提现成功",
- "data": null
- }
- headers: []
- description: ''
- custom: []
- responseFields: []
- auth:
- - headers
- - Authorization
- - 'Bearer Bearer {YOUR_AUTH_KEY}'
- controller: null
- method: null
- route: null
- custom: []
- -
- httpMethods:
- - POST
- uri: api/user/feedback
- metadata:
- groupName: Endpoints
- groupDescription: ''
- subgroup: ''
- subgroupDescription: ''
- title: '[用户管理] 用户反馈'
- description: 提交用户的反馈信息
- authenticated: true
- custom: []
- headers:
- Authorization: 'Bearer 68|ynrtTr0JPkmVmV80Cd0o2PIapOZk8mA3xDWnpqt1b3045d50'
- Content-Type: application/json
- urlParameters: []
- cleanUrlParameters: []
- queryParameters: []
- cleanQueryParameters: []
- bodyParameters:
- content:
- name: content
- description: 反馈内容.
- required: false
- example: 这是一个反馈信息
- type: string
- enumValues: []
- exampleWasSpecified: true
- nullable: false
- custom: []
- cleanBodyParameters:
- content: 这是一个反馈信息
- fileParameters: []
- responses:
- -
- status: 200
- content: |-
- {
- "code": 200,
- "message": "提交成功",
- "data": null
- }
- headers: []
- description: ''
- custom: []
- responseFields: []
- auth:
- - headers
- - Authorization
- - 'Bearer Bearer {YOUR_AUTH_KEY}'
- controller: null
- method: null
- route: null
- custom: []
- -
- httpMethods:
- - POST
- uri: api/user/apply-coach
- metadata:
- groupName: Endpoints
- groupDescription: ''
- subgroup: ''
- subgroupDescription: ''
- title: '[用户管理] 申请成为技师'
- description: 申请成为技师
- authenticated: true
- custom: []
- headers:
- Authorization: 'Bearer 68|ynrtTr0JPkmVmV80Cd0o2PIapOZk8mA3xDWnpqt1b3045d50'
- urlParameters: []
- cleanUrlParameters: []
- queryParameters: []
- cleanQueryParameters: []
- bodyParameters: []
- cleanBodyParameters: []
- fileParameters: []
- responses:
- -
- status: 200
- content: |-
- {
- "code": 200,
- "message": "申请成功",
- "data": null
- }
- headers: []
- description: ''
- custom: []
- responseFields: []
- auth:
- - headers
- - Authorization
- - 'Bearer Bearer {YOUR_AUTH_KEY}'
- controller: null
- method: null
- route: null
- custom: []
|