手动实名
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m24s

This commit is contained in:
2026-04-23 17:35:38 +08:00
parent f177c26016
commit a44c88005d
5 changed files with 221 additions and 0 deletions

View File

@@ -127,4 +127,13 @@ func registerAssetRoutes(router fiber.Router, handler *admin.AssetHandler, walle
Output: new(dto.UpdateAssetRealnamePolicyResponse),
Auth: true,
})
Register(assets, doc, groupPath, "PATCH", "/:identifier/realname-status", handler.UpdateRealnameStatus, RouteSpec{
Summary: "手动更新卡实名状态",
Description: "手动将指定卡资产标记为已实名或未实名。状态更新后会触发停复机评估,并在标记为已实名时触发待实名套餐激活。",
Tags: []string{"资产管理"},
Input: new(dto.UpdateAssetRealnameStatusRequest),
Output: new(dto.UpdateAssetRealnameStatusResponse),
Auth: true,
})
}