60 lines
1.4 KiB
Go
60 lines
1.4 KiB
Go
package v1
|
|
|
|
import (
|
|
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/model"
|
|
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
)
|
|
|
|
type CardInfoReq struct {
|
|
g.Meta `path:"/cardInfo" method:"POST" tags:"old_Sim" summary:"查询SIM信息"`
|
|
model.SimCardInfoInput
|
|
}
|
|
|
|
type CardInfoRes struct {
|
|
model.SimCardInfoOutput
|
|
}
|
|
|
|
type SimDataUsageReq struct {
|
|
g.Meta `path:"/simDataUsage" method:"POST" tags:"old_Sim" summary:"查询SIM账期用量"`
|
|
model.SimDataUsageOldInput
|
|
}
|
|
|
|
type SimDataUsageRes struct {
|
|
model.SimDataUsageOldOutput
|
|
}
|
|
|
|
type SimDataUsageMonthlyReq struct {
|
|
g.Meta `path:"/simDataUsageMonthly" method:"POST" tags:"old_Sim" summary:"查询SIM历史用量"`
|
|
model.SimDataUsageMonthlyOldInput
|
|
}
|
|
|
|
type SimDataUsageMonthlyRes struct {
|
|
model.SimDataUsageMonthlyOldOutput
|
|
}
|
|
|
|
type SimStatusReq struct {
|
|
g.Meta `path:"/simStatus" method:"POST" tags:"old_Sim" summary:"查询SIM状态"`
|
|
model.SimStatusOldInput
|
|
}
|
|
|
|
type SimStatusRes struct {
|
|
model.SimStatusOldOutput
|
|
}
|
|
|
|
type SimSessionReq struct {
|
|
g.Meta `path:"/simSession" method:"POST" tags:"old_Sim" summary:"查询SIM会话"`
|
|
model.SimStatusOnlineOldInput
|
|
}
|
|
|
|
type SimSessionRes struct {
|
|
model.SimStatusOnlineOldOutput
|
|
}
|
|
|
|
type SimCardInfoListReq struct {
|
|
g.Meta `path:"/queryCardInfoList" method:"POST" tags:"old_Sim" summary:"查询SIM卡列表"`
|
|
model.QueryCardInfoListInput
|
|
}
|
|
|
|
type SimCardInfoListRes = []model.QueryCardInfoListOutput
|