1
This commit is contained in:
@@ -445,6 +445,35 @@ module.exports = {
|
||||
return ctx.success(commandDetail);
|
||||
},
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /admin_api/pla_account/retryCommand:
|
||||
* post:
|
||||
* summary: 重试指令
|
||||
* description: 重新执行失败的指令
|
||||
* tags: [后台-账号管理]
|
||||
* requestBody:
|
||||
* required: true
|
||||
* content:
|
||||
* application/json:
|
||||
* schema:
|
||||
* type: object
|
||||
* required:
|
||||
* - commandId
|
||||
* properties:
|
||||
* commandId:
|
||||
* type: integer
|
||||
* description: 指令ID
|
||||
* responses:
|
||||
* 200:
|
||||
* description: 重试成功
|
||||
*/
|
||||
'POST /pla_account/retryCommand': async (ctx) => {
|
||||
const body = ctx.getBody();
|
||||
const result = await plaAccountService.retryCommand(body);
|
||||
return ctx.success(result);
|
||||
},
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /admin_api/pla_account/parseLocation:
|
||||
|
||||
Reference in New Issue
Block a user