移除英雄碎片转化为英雄经验的接口

This commit is contained in:
zhl 2021-01-08 14:36:00 +08:00
parent ed31dd9ce3
commit 59faa0db53
2 changed files with 0 additions and 26 deletions

View File

@ -278,26 +278,6 @@
}
```
### 11. 将专属英雄碎片转化成经验
1. Method: POST
2. URI: /api/:accountid/hero/toexp/:heroid
| 字段 | 说明 |
| -------- | -------------------------------------- |
| accountid | 帐号id |
| heroid | 英雄id |
3. Response: JSON
```json
{
exp: 1022, // 当前经验值
exp_POST: 100, // 本次获得的经验
level: 1 // 当前等级
}
```
## 三. 服务端接口列表

View File

@ -53,10 +53,4 @@ export default class HeroController extends BaseController {
return data;
}
@router('post /api/:accountid/hero/toexp/:heroid')
async shardToExp(req: any) {
let account = req.user;
let {heroid} = req.params;
}
}