批量收回功能
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m1s

This commit is contained in:
2026-07-28 10:53:15 +08:00
parent 7c5b6ee036
commit 178cc45bc2
16 changed files with 117 additions and 71 deletions

View File

@@ -125,8 +125,8 @@ func registerDeviceRoutes(router fiber.Router, handler *admin.DeviceHandler, imp
})
Register(devices, doc, groupPath, "POST", "/import/allocations", importHandler.CreateAllocation, RouteSpec{
Summary: "创建CSV设备批量分配任务",
Description: "复用设备导入任务。CSV只能包含一列设备标识,每行支持VirtualNo、IMEI或SN;整批选择分配目标代理或设置目标套餐系列。",
Summary: "创建CSV设备批量分配或回收任务",
Description: "复用设备导入任务。CSV只能包含一列设备标识,每行支持VirtualNo、IMEI或SN;整批可分配目标代理、设置目标套餐系列或回收设备。",
Tags: []string{"设备管理"},
Input: new(dto.CreateDeviceBatchAllocationRequest),
Output: new(dto.CreateDeviceBatchAllocationResponse),