This commit is contained in:
@@ -183,7 +183,8 @@ type SwitchCardRequest struct {
|
||||
// SetSwitchModeRequest 设置切卡模式请求
|
||||
type SetSwitchModeRequest struct {
|
||||
Identifier string `path:"identifier" description:"设备标识符(支持虚拟号/IMEI/SN)" required:"true"`
|
||||
SwitchMode int `json:"switch_mode" validate:"oneof=0 1" required:"true" description:"切卡模式 (0:自动切卡, 1:手动切卡)"`
|
||||
SwitchMode *int `json:"switch_mode" validate:"required,oneof=0 1" required:"true" description:"切卡模式 (0:自动切卡, 1:手动切卡)"`
|
||||
IotCardID uint `json:"iot_card_id" validate:"required,min=1" required:"true" minimum:"1" description:"目标卡资产ID(必须是系统内状态正常且已实名的卡)"`
|
||||
}
|
||||
|
||||
type EmptyResponse struct {
|
||||
|
||||
Reference in New Issue
Block a user