diff --git a/docs/api.md b/docs/api.md index 49d26c6..edea56c 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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 // 当前等级 -} -``` ## 三. 服务端接口列表 diff --git a/src/controllers/HeroController.ts b/src/controllers/HeroController.ts index dd6bb95..29bcb1f 100644 --- a/src/controllers/HeroController.ts +++ b/src/controllers/HeroController.ts @@ -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; - - } }