51 lines
1.9 KiB
Go
51 lines
1.9 KiB
Go
package v1
|
|
|
|
import (
|
|
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
|
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
)
|
|
|
|
type TSimCardAllocateTargetListReq struct {
|
|
g.Meta `path:"/tSimCardAllocate/targets" method:"get" tags:"卡划拨" summary:"查询卡划拨目标客户" x-check-permission:"cpm:iot:tSimCardAllocate:targets"`
|
|
model.TSimCardAllocateTargetListParam
|
|
}
|
|
|
|
type TSimCardAllocateExcelTemplateReq struct {
|
|
g.Meta `path:"/tSimCardAllocate/excel/template" method:"get" tags:"卡划拨" summary:"下载卡划拨Excel模板" x-check-permission:"cpm:iot:tSimCardAllocate:excel:template"`
|
|
}
|
|
|
|
type TSimCardAllocateExcelTemplateRes struct{}
|
|
|
|
type TSimCardAllocateTargetListRes struct {
|
|
MaxInputRows int `json:"maxInputRows" dc:"单次批量输入条数上限"`
|
|
Items []*model.TSimCardAllocateTargetModel `json:"items" dc:"目标客户列表"`
|
|
}
|
|
|
|
type TSimCardAllocateInputPrepareReq struct {
|
|
g.Meta `path:"/tSimCardAllocate/input/prepare" method:"post" tags:"卡划拨" summary:"批量输入提交卡划拨异步任务" x-check-permission:"cpm:iot:tSimCardAllocate:input:prepare"`
|
|
model.TSimCardAllocatePrepareParam
|
|
}
|
|
|
|
type TSimCardAllocateInputPrepareRes struct {
|
|
*model.TSimCardAllocateBatchModel
|
|
}
|
|
|
|
type TSimCardAllocateExcelSubmitReq struct {
|
|
g.Meta `path:"/tSimCardAllocate/excel/submit" method:"post" tags:"卡划拨" summary:"Excel提交卡划拨异步任务" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardAllocate:excel:submit"`
|
|
model.TSimCardAllocateExcelSubmitParam
|
|
}
|
|
|
|
type TSimCardAllocateExcelSubmitRes struct {
|
|
*model.TSimCardAllocateBatchModel
|
|
}
|
|
|
|
type TSimCardAllocateBatchSubmitReq struct {
|
|
g.Meta `path:"/tSimCardAllocate/batch/submit" method:"post" tags:"卡划拨" summary:"确认卡划拨" x-check-permission:"cpm:iot:tSimCardAllocate:batch:submit"`
|
|
model.TSimCardAllocateBatchSubmitParam
|
|
}
|
|
|
|
type TSimCardAllocateBatchSubmitRes struct {
|
|
*model.TSimCardAllocateBatchModel
|
|
}
|