优化文档格式
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
秘钥有效时间为10分钟
|
||||
|
||||
参数( application/x-www-form-urlencoded ):
|
||||
**参数( application/x-www-form-urlencoded ):**
|
||||
|
||||
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
|
||||
| ------------------- | ---- | ------------------- | ------ | ------------------------------------------------------------ |
|
||||
@@ -35,6 +35,8 @@
|
||||
|
||||
**json回复:**
|
||||
|
||||
根对象:
|
||||
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ------- | ---- | -------- | ------------------------------------------------------------ |
|
||||
| code | num | 返回值 | 0:成功<br />-400:请求错误<br />-500:服务器错误<br />-111:csrf校验失败<br />-101:账号未登录 |
|
||||
@@ -50,7 +52,7 @@
|
||||
| qr_token | str | 扫码秘钥 | |
|
||||
| exp | num | 获得经验数 | |
|
||||
|
||||
示例:
|
||||
**示例:**
|
||||
|
||||
申请空间的方式向用户23215368充电10电池且不使用B币的支付二维码
|
||||
|
||||
@@ -77,7 +79,7 @@ curl -b "SESSDATA=xxx" -d "up_mid=23215368&elec_num=10&is_bp_remains_prior=false
|
||||
|
||||
*方式:GET*
|
||||
|
||||
参数:
|
||||
**参数:**
|
||||
|
||||
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
|
||||
| -------- | ---- | -------- | ------ | ---- |
|
||||
@@ -85,6 +87,8 @@ curl -b "SESSDATA=xxx" -d "up_mid=23215368&elec_num=10&is_bp_remains_prior=false
|
||||
|
||||
**json回复:**
|
||||
|
||||
根对象:
|
||||
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ------- | ---- | -------- | ----------------------------- |
|
||||
| code | num | 返回值 | 0:成功<br />-101:账号未登录 |
|
||||
@@ -101,7 +105,7 @@ curl -b "SESSDATA=xxx" -d "up_mid=23215368&elec_num=10&is_bp_remains_prior=false
|
||||
| mid | num | 当前用户UID | |
|
||||
| status | num | 状态值 | 若秘钥错误则无此项<br />1:已支付<br />2:未扫描<br />3:未确认 |
|
||||
|
||||
示例:
|
||||
**示例:**
|
||||
|
||||
当申请到的支付二维码未被扫描时,`data`.`ststus`的值为`2`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user