This commit is contained in:
张成
2025-12-19 11:40:25 +08:00
parent f233f368ed
commit 34ebad316a
5 changed files with 276 additions and 66 deletions

View File

@@ -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: