chore: 并入 iotlcm-openapi 历史到 openapi/(原提交 3b05d5a)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package old_api
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.5iot.com/iotlcm-public/iotlcm-openapi/api/old_api/v1"
|
||||
)
|
||||
|
||||
type IOldApiV1 interface {
|
||||
CardInfo(ctx context.Context, req *v1.CardInfoReq) (res *v1.CardInfoRes, err error)
|
||||
SimDataUsage(ctx context.Context, req *v1.SimDataUsageReq) (res *v1.SimDataUsageRes, err error)
|
||||
SimDataUsageMonthly(ctx context.Context, req *v1.SimDataUsageMonthlyReq) (res *v1.SimDataUsageMonthlyRes, err error)
|
||||
SimStatus(ctx context.Context, req *v1.SimStatusReq) (res *v1.SimStatusRes, err error)
|
||||
SimSession(ctx context.Context, req *v1.SimSessionReq) (res *v1.SimSessionRes, err error)
|
||||
SimCardInfoList(ctx context.Context, req *v1.SimCardInfoListReq) (res *v1.SimCardInfoListRes, err error)
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
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
|
||||
Reference in New Issue
Block a user