切卡模式更新
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m58s

This commit is contained in:
2026-04-29 10:18:15 +08:00
parent 37b4483183
commit 74c7b27327
6 changed files with 218 additions and 7 deletions

View File

@@ -167,7 +167,7 @@ func registerDeviceRoutes(router fiber.Router, handler *admin.DeviceHandler, imp
Register(devices, doc, groupPath, "POST", "/by-identifier/:identifier/switch-mode", handler.SetSwitchMode, RouteSpec{
Summary: "设置切卡模式",
Description: "通过虚拟号/IMEI/SN 设置设备切卡模式0:自动切卡, 1:手动切卡)。设备必须已配置 IMEI。",
Description: "通过虚拟号/IMEI/SN 设置设备切卡模式0:自动切卡, 1:手动切卡)。设备必须已配置 IMEI且必须指定一张系统内状态正常并已实名的目标卡资产ID。",
Tags: []string{"设备管理"},
Input: new(dto.SetSwitchModeRequest),
Output: new(dto.EmptyResponse),