chore: 初始开源发布
iotlcm-admin-svr:管理后台服务。 - Go module:iotlcm → git.5iot.com/iotlcm-public/iotlcm-admin-svr(729 文件) - 凭据与地址脱敏:JWT signingKey(含代码里的 MustGet 默认值)、 MySQL DSN、Redis 口令、告警邮件发件人邮箱全部改为占位; 私网 IP → 文档地址段;库名 xiujie_admin → iotlcm - 真实手机号/邮箱 → 合法 11 位编造号 / example.com - 移除内部资产:CI 触发器、过时 DDL(sql/db_iotlcm.sql)、 私有依赖 go get 行、明文 registry 登录口令 - 启动 banner 统一 IOTLCM 方块字 + 社区惯例署名 - Dockerfile 改用公共基础镜像 - 拼错的 RADEME.md → README.md,README 重写 - 需要真实数据库的用例改为可用 IOTLCM_TEST_WITH_DB=1 显式启用 - 补 Apache-2.0 LICENSE,LF 行尾 + .gitattributes 数据库 schema 不随本仓发布(生产 DDL 已过时),README 已说明。
This commit is contained in:
@@ -0,0 +1,195 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package iot
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/api/iot/v1"
|
||||
)
|
||||
|
||||
type IIotV1 interface {
|
||||
SimWarningConfigList(ctx context.Context, req *v1.SimWarningConfigListReq) (res *v1.SimWarningConfigListRes, err error)
|
||||
SimWarningConfigView(ctx context.Context, req *v1.SimWarningConfigViewReq) (res *v1.SimWarningConfigViewRes, err error)
|
||||
SimWarningConfigSave(ctx context.Context, req *v1.SimWarningConfigSaveReq) (res *v1.SimWarningConfigSaveRes, err error)
|
||||
SimWarningConfigStatus(ctx context.Context, req *v1.SimWarningConfigStatusReq) (res *v1.SimWarningConfigStatusRes, err error)
|
||||
SimWarningConfigDelete(ctx context.Context, req *v1.SimWarningConfigDeleteReq) (res *v1.SimWarningConfigDeleteRes, err error)
|
||||
TFlowPackageConfigList(ctx context.Context, req *v1.TFlowPackageConfigListReq) (res *v1.TFlowPackageConfigListRes, err error)
|
||||
TFlowPackageConfigExport(ctx context.Context, req *v1.TFlowPackageConfigExportReq) (res *v1.TFlowPackageConfigExportRes, err error)
|
||||
TFlowPackageConfigView(ctx context.Context, req *v1.TFlowPackageConfigViewReq) (res *v1.TFlowPackageConfigViewRes, err error)
|
||||
TFlowPackageConfigEdit(ctx context.Context, req *v1.TFlowPackageConfigEditReq) (res *v1.TFlowPackageConfigEditRes, err error)
|
||||
TFlowPackageConfigDelete(ctx context.Context, req *v1.TFlowPackageConfigDeleteReq) (res *v1.TFlowPackageConfigDeleteRes, err error)
|
||||
TOrderList(ctx context.Context, req *v1.TOrderListReq) (res *v1.TOrderListRes, err error)
|
||||
TOrderExport(ctx context.Context, req *v1.TOrderExportReq) (res *v1.TOrderExportRes, err error)
|
||||
TOrderView(ctx context.Context, req *v1.TOrderViewReq) (res *v1.TOrderViewRes, err error)
|
||||
TOrderEdit(ctx context.Context, req *v1.TOrderEditReq) (res *v1.TOrderEditRes, err error)
|
||||
TOrderDelete(ctx context.Context, req *v1.TOrderDeleteReq) (res *v1.TOrderDeleteRes, err error)
|
||||
TOrderSellList(ctx context.Context, req *v1.TOrderSellListReq) (res *v1.TOrderSellListRes, err error)
|
||||
TSimCardAllocateTargetList(ctx context.Context, req *v1.TSimCardAllocateTargetListReq) (res *v1.TSimCardAllocateTargetListRes, err error)
|
||||
TSimCardAllocateExcelTemplate(ctx context.Context, req *v1.TSimCardAllocateExcelTemplateReq) (res *v1.TSimCardAllocateExcelTemplateRes, err error)
|
||||
TSimCardAllocateInputPrepare(ctx context.Context, req *v1.TSimCardAllocateInputPrepareReq) (res *v1.TSimCardAllocateInputPrepareRes, err error)
|
||||
TSimCardAllocateExcelSubmit(ctx context.Context, req *v1.TSimCardAllocateExcelSubmitReq) (res *v1.TSimCardAllocateExcelSubmitRes, err error)
|
||||
TSimCardAllocateBatchSubmit(ctx context.Context, req *v1.TSimCardAllocateBatchSubmitReq) (res *v1.TSimCardAllocateBatchSubmitRes, err error)
|
||||
TSimCardBindPkgList(ctx context.Context, req *v1.TSimCardBindPkgListReq) (res *v1.TSimCardBindPkgListRes, err error)
|
||||
TSimCardBindPkgExport(ctx context.Context, req *v1.TSimCardBindPkgExportReq) (res *v1.TSimCardBindPkgExportRes, err error)
|
||||
TSimCardBindPkgView(ctx context.Context, req *v1.TSimCardBindPkgViewReq) (res *v1.TSimCardBindPkgViewRes, err error)
|
||||
TSimCardBindPkgEdit(ctx context.Context, req *v1.TSimCardBindPkgEditReq) (res *v1.TSimCardBindPkgEditRes, err error)
|
||||
TSimCardBindPkgDelete(ctx context.Context, req *v1.TSimCardBindPkgDeleteReq) (res *v1.TSimCardBindPkgDeleteRes, err error)
|
||||
TSimCardBindPkgGetPkgInfo(ctx context.Context, req *v1.TSimCardBindPkgGetPkgInfoReq) (res *v1.TSimCardBindPkgGetPkgInfoRes, err error)
|
||||
TSimCardBindPkgGetChangePkg(ctx context.Context, req *v1.TSimCardBindPkgGetChangePkgReq) (res *v1.TSimCardBindPkgGetChangePkgRes, err error)
|
||||
TSimCardBindPkgAddPackageOptions(ctx context.Context, req *v1.TSimCardBindPkgAddPackageOptionsReq) (res *v1.TSimCardBindPkgAddPackageOptionsRes, err error)
|
||||
TSimCardBindPkgAddPackagePaymentContext(ctx context.Context, req *v1.TSimCardBindPkgAddPackagePaymentContextReq) (res *v1.TSimCardBindPkgAddPackagePaymentContextRes, err error)
|
||||
TSimCardBindPkgDownloadExcelTemplate(ctx context.Context, req *v1.TSimCardBindPkgDownloadExcelTemplateReq) (res *v1.TSimCardBindPkgDownloadExcelTemplateRes, err error)
|
||||
TSimCardBindPkgSubmitExcel(ctx context.Context, req *v1.TSimCardBindPkgSubmitExcelReq) (res *v1.TSimCardBindPkgSubmitExcelRes, err error)
|
||||
TSimCardBindPkgSubmitInput(ctx context.Context, req *v1.TSimCardBindPkgSubmitInputReq) (res *v1.TSimCardBindPkgSubmitInputRes, err error)
|
||||
TSimCardBindPkgAddPackageInputPrepare(ctx context.Context, req *v1.TSimCardBindPkgAddPackageInputPrepareReq) (res *v1.TSimCardBindPkgAddPackageInputPrepareRes, err error)
|
||||
TSimCardBindPkgAddPackagePrepareResult(ctx context.Context, req *v1.TSimCardBindPkgAddPackagePrepareResultReq) (res *v1.TSimCardBindPkgAddPackagePrepareResultRes, err error)
|
||||
TSimCardBindPkgAddPackageBatchConfirm(ctx context.Context, req *v1.TSimCardBindPkgAddPackageBatchConfirmReq) (res *v1.TSimCardBindPkgAddPackageBatchConfirmRes, err error)
|
||||
TSimCardCancelExcelTemplate(ctx context.Context, req *v1.TSimCardCancelExcelTemplateReq) (res *v1.TSimCardCancelExcelTemplateRes, err error)
|
||||
TSimCardCancelExcelSubmit(ctx context.Context, req *v1.TSimCardCancelExcelSubmitReq) (res *v1.TSimCardCancelExcelSubmitRes, err error)
|
||||
TSimCardCancelInputSubmit(ctx context.Context, req *v1.TSimCardCancelInputSubmitReq) (res *v1.TSimCardCancelInputSubmitRes, err error)
|
||||
TSimCardCancellationList(ctx context.Context, req *v1.TSimCardCancellationListReq) (res *v1.TSimCardCancellationListRes, err error)
|
||||
TSimCardCancellationExport(ctx context.Context, req *v1.TSimCardCancellationExportReq) (res *v1.TSimCardCancellationExportRes, err error)
|
||||
TSimCardChangeExcelTemplate(ctx context.Context, req *v1.TSimCardChangeExcelTemplateReq) (res *v1.TSimCardChangeExcelTemplateRes, err error)
|
||||
TSimCardChangeExcelSubmit(ctx context.Context, req *v1.TSimCardChangeExcelSubmitReq) (res *v1.TSimCardChangeExcelSubmitRes, err error)
|
||||
TSimCardChangeInputOptions(ctx context.Context, req *v1.TSimCardChangeInputOptionsReq) (res *v1.TSimCardChangeInputOptionsRes, err error)
|
||||
TSimCardChangeRangeOptions(ctx context.Context, req *v1.TSimCardChangeRangeOptionsReq) (res *v1.TSimCardChangeRangeOptionsRes, err error)
|
||||
TSimCardChangeInputPrepare(ctx context.Context, req *v1.TSimCardChangeInputPrepareReq) (res *v1.TSimCardChangeInputPrepareRes, err error)
|
||||
TSimCardChangeRangePrepare(ctx context.Context, req *v1.TSimCardChangeRangePrepareReq) (res *v1.TSimCardChangeRangePrepareRes, err error)
|
||||
TSimCardChangeBatchSubmit(ctx context.Context, req *v1.TSimCardChangeBatchSubmitReq) (res *v1.TSimCardChangeBatchSubmitRes, err error)
|
||||
TSimCardChangePrepareResult(ctx context.Context, req *v1.TSimCardChangePrepareResultReq) (res *v1.TSimCardChangePrepareResultRes, err error)
|
||||
TSimCardDataCutExcelTemplate(ctx context.Context, req *v1.TSimCardDataCutExcelTemplateReq) (res *v1.TSimCardDataCutExcelTemplateRes, err error)
|
||||
TSimCardDataCutExcelSubmit(ctx context.Context, req *v1.TSimCardDataCutExcelSubmitReq) (res *v1.TSimCardDataCutExcelSubmitRes, err error)
|
||||
TSimCardDataCutInputSubmit(ctx context.Context, req *v1.TSimCardDataCutInputSubmitReq) (res *v1.TSimCardDataCutInputSubmitRes, err error)
|
||||
TSimCardDataStartExcelTemplate(ctx context.Context, req *v1.TSimCardDataStartExcelTemplateReq) (res *v1.TSimCardDataStartExcelTemplateRes, err error)
|
||||
TSimCardDataStartExcelSubmit(ctx context.Context, req *v1.TSimCardDataStartExcelSubmitReq) (res *v1.TSimCardDataStartExcelSubmitRes, err error)
|
||||
TSimCardDataStartInputSubmit(ctx context.Context, req *v1.TSimCardDataStartInputSubmitReq) (res *v1.TSimCardDataStartInputSubmitRes, err error)
|
||||
TSimCardDataStopExcelTemplate(ctx context.Context, req *v1.TSimCardDataStopExcelTemplateReq) (res *v1.TSimCardDataStopExcelTemplateRes, err error)
|
||||
TSimCardDataStopExcelSubmit(ctx context.Context, req *v1.TSimCardDataStopExcelSubmitReq) (res *v1.TSimCardDataStopExcelSubmitRes, err error)
|
||||
TSimCardDataStopInputSubmit(ctx context.Context, req *v1.TSimCardDataStopInputSubmitReq) (res *v1.TSimCardDataStopInputSubmitRes, err error)
|
||||
TSimCardInboundExcelTemplate(ctx context.Context, req *v1.TSimCardInboundExcelTemplateReq) (res *v1.TSimCardInboundExcelTemplateRes, err error)
|
||||
TSimCardInboundExcelSubmit(ctx context.Context, req *v1.TSimCardInboundExcelSubmitReq) (res *v1.TSimCardInboundExcelSubmitRes, err error)
|
||||
TSimCardInboundRangeSubmit(ctx context.Context, req *v1.TSimCardInboundRangeSubmitReq) (res *v1.TSimCardInboundRangeSubmitRes, err error)
|
||||
TSimCardInboundInputSubmit(ctx context.Context, req *v1.TSimCardInboundInputSubmitReq) (res *v1.TSimCardInboundInputSubmitRes, err error)
|
||||
TSimCardInfoList(ctx context.Context, req *v1.TSimCardInfoListReq) (res *v1.TSimCardInfoListRes, err error)
|
||||
TSimCardInfoExport(ctx context.Context, req *v1.TSimCardInfoExportReq) (res *v1.TSimCardInfoExportRes, err error)
|
||||
TSimCardInfoView(ctx context.Context, req *v1.TSimCardInfoViewReq) (res *v1.TSimCardInfoViewRes, err error)
|
||||
TSimCardInfoEdit(ctx context.Context, req *v1.TSimCardInfoEditReq) (res *v1.TSimCardInfoEditRes, err error)
|
||||
TSimCardInfoDelete(ctx context.Context, req *v1.TSimCardInfoDeleteReq) (res *v1.TSimCardInfoDeleteRes, err error)
|
||||
TSimCardInfoSyncSimCardFlow(ctx context.Context, req *v1.TSimCardInfoSyncSimCardFlowReq) (res *v1.TSimCardInfoSyncSimCardFlowRes, err error)
|
||||
TSimCardInfoSyncSimCardStatus(ctx context.Context, req *v1.TSimCardInfoSyncSimCardStatusReq) (res *v1.TSimCardInfoSyncSimCardStatusRes, err error)
|
||||
TSimCardInfoSyncSimCardStatusQueue(ctx context.Context, req *v1.TSimCardInfoSyncSimCardStatusQueueReq) (res *v1.TSimCardInfoSyncSimCardStatusQueueRes, err error)
|
||||
TSimCardInfoQuerySimSession(ctx context.Context, req *v1.TSimCardInfoQuerySimSessionReq) (res *v1.TSimCardInfoQuerySimSessionRes, err error)
|
||||
TSimCardInfoQuerySimStatus(ctx context.Context, req *v1.TSimCardInfoQuerySimStatusReq) (res *v1.TSimCardInfoQuerySimStatusRes, err error)
|
||||
TSimCardOutboundExcelTemplate(ctx context.Context, req *v1.TSimCardOutboundExcelTemplateReq) (res *v1.TSimCardOutboundExcelTemplateRes, err error)
|
||||
TSimCardOutboundExcelSubmit(ctx context.Context, req *v1.TSimCardOutboundExcelSubmitReq) (res *v1.TSimCardOutboundExcelSubmitRes, err error)
|
||||
TSimCardOutboundRangeSubmit(ctx context.Context, req *v1.TSimCardOutboundRangeSubmitReq) (res *v1.TSimCardOutboundRangeSubmitRes, err error)
|
||||
TSimCardOutboundInputSubmit(ctx context.Context, req *v1.TSimCardOutboundInputSubmitReq) (res *v1.TSimCardOutboundInputSubmitRes, err error)
|
||||
TSimCardOutboundInboundBatchList(ctx context.Context, req *v1.TSimCardOutboundInboundBatchListReq) (res *v1.TSimCardOutboundInboundBatchListRes, err error)
|
||||
TSimCardOutboundInboundBatchCards(ctx context.Context, req *v1.TSimCardOutboundInboundBatchCardsReq) (res *v1.TSimCardOutboundInboundBatchCardsRes, err error)
|
||||
TSimCardOutboundBatchSubmit(ctx context.Context, req *v1.TSimCardOutboundBatchSubmitReq) (res *v1.TSimCardOutboundBatchSubmitRes, err error)
|
||||
TSimCardOutboundCustomerBalance(ctx context.Context, req *v1.TSimCardOutboundCustomerBalanceReq) (res *v1.TSimCardOutboundCustomerBalanceRes, err error)
|
||||
TSimCardRenewExcelTemplate(ctx context.Context, req *v1.TSimCardRenewExcelTemplateReq) (res *v1.TSimCardRenewExcelTemplateRes, err error)
|
||||
TSimCardRenewExcelSubmit(ctx context.Context, req *v1.TSimCardRenewExcelSubmitReq) (res *v1.TSimCardRenewExcelSubmitRes, err error)
|
||||
TSimCardRenewInputPrepare(ctx context.Context, req *v1.TSimCardRenewInputPrepareReq) (res *v1.TSimCardRenewInputPrepareRes, err error)
|
||||
TSimCardRenewBatchConfirm(ctx context.Context, req *v1.TSimCardRenewBatchConfirmReq) (res *v1.TSimCardRenewBatchConfirmRes, err error)
|
||||
TSimCardRenewPrepareResult(ctx context.Context, req *v1.TSimCardRenewPrepareResultReq) (res *v1.TSimCardRenewPrepareResultRes, err error)
|
||||
TSimCardRestartExcelTemplate(ctx context.Context, req *v1.TSimCardRestartExcelTemplateReq) (res *v1.TSimCardRestartExcelTemplateRes, err error)
|
||||
TSimCardRestartExcelSubmit(ctx context.Context, req *v1.TSimCardRestartExcelSubmitReq) (res *v1.TSimCardRestartExcelSubmitRes, err error)
|
||||
TSimCardRestartInputSubmit(ctx context.Context, req *v1.TSimCardRestartInputSubmitReq) (res *v1.TSimCardRestartInputSubmitRes, err error)
|
||||
TSimCardStartExcelTemplate(ctx context.Context, req *v1.TSimCardStartExcelTemplateReq) (res *v1.TSimCardStartExcelTemplateRes, err error)
|
||||
TSimCardStartExcelSubmit(ctx context.Context, req *v1.TSimCardStartExcelSubmitReq) (res *v1.TSimCardStartExcelSubmitRes, err error)
|
||||
TSimCardStartInputSubmit(ctx context.Context, req *v1.TSimCardStartInputSubmitReq) (res *v1.TSimCardStartInputSubmitRes, err error)
|
||||
TSimCardStockList(ctx context.Context, req *v1.TSimCardStockListReq) (res *v1.TSimCardStockListRes, err error)
|
||||
TSimCardStockExport(ctx context.Context, req *v1.TSimCardStockExportReq) (res *v1.TSimCardStockExportRes, err error)
|
||||
TSimCardStockView(ctx context.Context, req *v1.TSimCardStockViewReq) (res *v1.TSimCardStockViewRes, err error)
|
||||
TSimCardStockEdit(ctx context.Context, req *v1.TSimCardStockEditReq) (res *v1.TSimCardStockEditRes, err error)
|
||||
TSimCardStockDelete(ctx context.Context, req *v1.TSimCardStockDeleteReq) (res *v1.TSimCardStockDeleteRes, err error)
|
||||
TSimCardStopExcelTemplate(ctx context.Context, req *v1.TSimCardStopExcelTemplateReq) (res *v1.TSimCardStopExcelTemplateRes, err error)
|
||||
TSimCardStopExcelSubmit(ctx context.Context, req *v1.TSimCardStopExcelSubmitReq) (res *v1.TSimCardStopExcelSubmitRes, err error)
|
||||
TSimCardStopInputSubmit(ctx context.Context, req *v1.TSimCardStopInputSubmitReq) (res *v1.TSimCardStopInputSubmitRes, err error)
|
||||
TSimCardTrafficCutoffExcelTemplate(ctx context.Context, req *v1.TSimCardTrafficCutoffExcelTemplateReq) (res *v1.TSimCardTrafficCutoffExcelTemplateRes, err error)
|
||||
TSimCardTrafficCutoffExcelSubmit(ctx context.Context, req *v1.TSimCardTrafficCutoffExcelSubmitReq) (res *v1.TSimCardTrafficCutoffExcelSubmitRes, err error)
|
||||
TSimCardTrafficCutoffInputSubmit(ctx context.Context, req *v1.TSimCardTrafficCutoffInputSubmitReq) (res *v1.TSimCardTrafficCutoffInputSubmitRes, err error)
|
||||
TSimCardTrafficCutoffRangeSubmit(ctx context.Context, req *v1.TSimCardTrafficCutoffRangeSubmitReq) (res *v1.TSimCardTrafficCutoffRangeSubmitRes, err error)
|
||||
TSimCardTrafficCutoffList(ctx context.Context, req *v1.TSimCardTrafficCutoffListReq) (res *v1.TSimCardTrafficCutoffListRes, err error)
|
||||
TSimCardTrafficCutoffExport(ctx context.Context, req *v1.TSimCardTrafficCutoffExportReq) (res *v1.TSimCardTrafficCutoffExportRes, err error)
|
||||
TSimCardTrafficCutoffEdit(ctx context.Context, req *v1.TSimCardTrafficCutoffEditReq) (res *v1.TSimCardTrafficCutoffEditRes, err error)
|
||||
TSimCardTrafficCutoffDelete(ctx context.Context, req *v1.TSimCardTrafficCutoffDeleteReq) (res *v1.TSimCardTrafficCutoffDeleteRes, err error)
|
||||
TSimCardUnsubExcelTemplate(ctx context.Context, req *v1.TSimCardUnsubExcelTemplateReq) (res *v1.TSimCardUnsubExcelTemplateRes, err error)
|
||||
TSimCardUnsubExcelSubmit(ctx context.Context, req *v1.TSimCardUnsubExcelSubmitReq) (res *v1.TSimCardUnsubExcelSubmitRes, err error)
|
||||
TSimCardUnsubInputSubmit(ctx context.Context, req *v1.TSimCardUnsubInputSubmitReq) (res *v1.TSimCardUnsubInputSubmitRes, err error)
|
||||
TSimCardUnsubRangeSubmit(ctx context.Context, req *v1.TSimCardUnsubRangeSubmitReq) (res *v1.TSimCardUnsubRangeSubmitRes, err error)
|
||||
TSimChannelsList(ctx context.Context, req *v1.TSimChannelsListReq) (res *v1.TSimChannelsListRes, err error)
|
||||
TSimChannelsExport(ctx context.Context, req *v1.TSimChannelsExportReq) (res *v1.TSimChannelsExportRes, err error)
|
||||
TSimChannelsView(ctx context.Context, req *v1.TSimChannelsViewReq) (res *v1.TSimChannelsViewRes, err error)
|
||||
TSimChannelsEdit(ctx context.Context, req *v1.TSimChannelsEditReq) (res *v1.TSimChannelsEditRes, err error)
|
||||
TSimChannelsDelete(ctx context.Context, req *v1.TSimChannelsDeleteReq) (res *v1.TSimChannelsDeleteRes, err error)
|
||||
TSimChannelsTest(ctx context.Context, req *v1.TSimChannelsTestReq) (res *v1.TSimChannelsTestRes, err error)
|
||||
TSimChannelTemplateList(ctx context.Context, req *v1.TSimChannelTemplateListReq) (res *v1.TSimChannelTemplateListRes, err error)
|
||||
TSimChannelTemplateExport(ctx context.Context, req *v1.TSimChannelTemplateExportReq) (res *v1.TSimChannelTemplateExportRes, err error)
|
||||
TSimChannelTemplateView(ctx context.Context, req *v1.TSimChannelTemplateViewReq) (res *v1.TSimChannelTemplateViewRes, err error)
|
||||
TSimChannelTemplateEdit(ctx context.Context, req *v1.TSimChannelTemplateEditReq) (res *v1.TSimChannelTemplateEditRes, err error)
|
||||
TSimChannelTemplateDelete(ctx context.Context, req *v1.TSimChannelTemplateDeleteReq) (res *v1.TSimChannelTemplateDeleteRes, err error)
|
||||
TSimDiagnoseInfo(ctx context.Context, req *v1.TSimDiagnoseInfoReq) (res *v1.TSimDiagnoseInfoRes, err error)
|
||||
TSimDiagnoseFlow(ctx context.Context, req *v1.TSimDiagnoseFlowReq) (res *v1.TSimDiagnoseFlowRes, err error)
|
||||
TSimFlowPackageInfoList(ctx context.Context, req *v1.TSimFlowPackageInfoListReq) (res *v1.TSimFlowPackageInfoListRes, err error)
|
||||
TSimFlowPackageInfoExport(ctx context.Context, req *v1.TSimFlowPackageInfoExportReq) (res *v1.TSimFlowPackageInfoExportRes, err error)
|
||||
TSimFlowPackageInfoView(ctx context.Context, req *v1.TSimFlowPackageInfoViewReq) (res *v1.TSimFlowPackageInfoViewRes, err error)
|
||||
TSimFlowPackageInfoEdit(ctx context.Context, req *v1.TSimFlowPackageInfoEditReq) (res *v1.TSimFlowPackageInfoEditRes, err error)
|
||||
TSimFlowPackageInfoDelete(ctx context.Context, req *v1.TSimFlowPackageInfoDeleteReq) (res *v1.TSimFlowPackageInfoDeleteRes, err error)
|
||||
TSimFlowPackageInfoSyncDeptPackages(ctx context.Context, req *v1.TSimFlowPackageInfoSyncDeptPackagesReq) (res *v1.TSimFlowPackageInfoSyncDeptPackagesRes, err error)
|
||||
TSimFlowPackageInfoFlowPackageList(ctx context.Context, req *v1.TSimFlowPackageInfoFlowPackageListReq) (res *v1.TSimFlowPackageInfoFlowPackageListRes, err error)
|
||||
TSimFlowPackageInfoFlowPackageAddList(ctx context.Context, req *v1.TSimFlowPackageInfoFlowPackageAddListReq) (res *v1.TSimFlowPackageInfoFlowPackageAddListRes, err error)
|
||||
TSimFlowPackageInfoGetFlowPackageOptions(ctx context.Context, req *v1.TSimFlowPackageInfoGetFlowPackageOptionsReq) (res *v1.TSimFlowPackageInfoGetFlowPackageOptionsRes, err error)
|
||||
TSimFlowPackageInfoRenewablePackageOptions(ctx context.Context, req *v1.TSimFlowPackageInfoRenewablePackageOptionsReq) (res *v1.TSimFlowPackageInfoRenewablePackageOptionsRes, err error)
|
||||
TSimFlowPackagePriceagentTree(ctx context.Context, req *v1.TSimFlowPackagePriceagentTreeReq) (res *v1.TSimFlowPackagePriceagentTreeRes, err error)
|
||||
TSimFlowPackagePriceAgentPackagePriceList(ctx context.Context, req *v1.TSimFlowPackagePriceAgentPackagePriceListReq) (res *v1.TSimFlowPackagePriceAgentPackagePriceListRes, err error)
|
||||
TSimFlowPackagePriceAgentPackagePriceSave(ctx context.Context, req *v1.TSimFlowPackagePriceAgentPackagePriceSaveReq) (res *v1.TSimFlowPackagePriceAgentPackagePriceSaveRes, err error)
|
||||
TSimFlowPackagePriceAgentPackagePriceInherit(ctx context.Context, req *v1.TSimFlowPackagePriceAgentPackagePriceInheritReq) (res *v1.TSimFlowPackagePriceAgentPackagePriceInheritRes, err error)
|
||||
TSimFlowPackagePriceAgentDefaultPackagePriceList(ctx context.Context, req *v1.TSimFlowPackagePriceAgentDefaultPackagePriceListReq) (res *v1.TSimFlowPackagePriceAgentDefaultPackagePriceListRes, err error)
|
||||
TSimFlowPackagePriceAgentDefaultPackagePriceSave(ctx context.Context, req *v1.TSimFlowPackagePriceAgentDefaultPackagePriceSaveReq) (res *v1.TSimFlowPackagePriceAgentDefaultPackagePriceSaveRes, err error)
|
||||
TSimFlowPackagePriceAgentDefaultPackagePriceInherit(ctx context.Context, req *v1.TSimFlowPackagePriceAgentDefaultPackagePriceInheritReq) (res *v1.TSimFlowPackagePriceAgentDefaultPackagePriceInheritRes, err error)
|
||||
TSimFlowPoolList(ctx context.Context, req *v1.TSimFlowPoolListReq) (res *v1.TSimFlowPoolListRes, err error)
|
||||
TSimFlowPoolExport(ctx context.Context, req *v1.TSimFlowPoolExportReq) (res *v1.TSimFlowPoolExportRes, err error)
|
||||
TSimFlowPoolView(ctx context.Context, req *v1.TSimFlowPoolViewReq) (res *v1.TSimFlowPoolViewRes, err error)
|
||||
TSimFlowPoolEdit(ctx context.Context, req *v1.TSimFlowPoolEditReq) (res *v1.TSimFlowPoolEditRes, err error)
|
||||
TSimFlowPoolDelete(ctx context.Context, req *v1.TSimFlowPoolDeleteReq) (res *v1.TSimFlowPoolDeleteRes, err error)
|
||||
TSimFlowPoolSyncPoolCard(ctx context.Context, req *v1.TSimFlowPoolSyncPoolCardReq) (res *v1.TSimFlowPoolSyncPoolCardRes, err error)
|
||||
TSimFlowPoolGetCardsByPackageCodes(ctx context.Context, req *v1.TSimFlowPoolGetCardsByPackageCodesReq) (res *v1.TSimFlowPoolGetCardsByPackageCodesRes, err error)
|
||||
TSimPackageCategoryList(ctx context.Context, req *v1.TSimPackageCategoryListReq) (res *v1.TSimPackageCategoryListRes, err error)
|
||||
TSimPackageCategoryExport(ctx context.Context, req *v1.TSimPackageCategoryExportReq) (res *v1.TSimPackageCategoryExportRes, err error)
|
||||
TSimPackageCategoryView(ctx context.Context, req *v1.TSimPackageCategoryViewReq) (res *v1.TSimPackageCategoryViewRes, err error)
|
||||
TSimPackageCategoryEdit(ctx context.Context, req *v1.TSimPackageCategoryEditReq) (res *v1.TSimPackageCategoryEditRes, err error)
|
||||
TSimPackageCategoryDelete(ctx context.Context, req *v1.TSimPackageCategoryDeleteReq) (res *v1.TSimPackageCategoryDeleteRes, err error)
|
||||
TSimPoolBindPackageList(ctx context.Context, req *v1.TSimPoolBindPackageListReq) (res *v1.TSimPoolBindPackageListRes, err error)
|
||||
TSimPoolBindPackageExport(ctx context.Context, req *v1.TSimPoolBindPackageExportReq) (res *v1.TSimPoolBindPackageExportRes, err error)
|
||||
TSimPoolBindPackageView(ctx context.Context, req *v1.TSimPoolBindPackageViewReq) (res *v1.TSimPoolBindPackageViewRes, err error)
|
||||
TSimPoolBindPackageEdit(ctx context.Context, req *v1.TSimPoolBindPackageEditReq) (res *v1.TSimPoolBindPackageEditRes, err error)
|
||||
TSimPoolBindPackageDelete(ctx context.Context, req *v1.TSimPoolBindPackageDeleteReq) (res *v1.TSimPoolBindPackageDeleteRes, err error)
|
||||
TSimPoolBindPackageAddPackageOptions(ctx context.Context, req *v1.TSimPoolBindPackageAddPackageOptionsReq) (res *v1.TSimPoolBindPackageAddPackageOptionsRes, err error)
|
||||
TSimPoolBindPackageAddPackagePaymentContext(ctx context.Context, req *v1.TSimPoolBindPackageAddPackagePaymentContextReq) (res *v1.TSimPoolBindPackageAddPackagePaymentContextRes, err error)
|
||||
TSimPoolBindPackageDownloadExcelTemplate(ctx context.Context, req *v1.TSimPoolBindPackageDownloadExcelTemplateReq) (res *v1.TSimPoolBindPackageDownloadExcelTemplateRes, err error)
|
||||
TSimPoolBindPackageSubmitExcel(ctx context.Context, req *v1.TSimPoolBindPackageSubmitExcelReq) (res *v1.TSimPoolBindPackageSubmitExcelRes, err error)
|
||||
TSimPoolBindPackageSubmitInput(ctx context.Context, req *v1.TSimPoolBindPackageSubmitInputReq) (res *v1.TSimPoolBindPackageSubmitInputRes, err error)
|
||||
TSimPoolBindPackageAddPackageInputPrepare(ctx context.Context, req *v1.TSimPoolBindPackageAddPackageInputPrepareReq) (res *v1.TSimPoolBindPackageAddPackageInputPrepareRes, err error)
|
||||
TSimPoolBindPackageAddPackagePrepareResult(ctx context.Context, req *v1.TSimPoolBindPackageAddPackagePrepareResultReq) (res *v1.TSimPoolBindPackageAddPackagePrepareResultRes, err error)
|
||||
TSimPoolBindPackageAddPackageBatchConfirm(ctx context.Context, req *v1.TSimPoolBindPackageAddPackageBatchConfirmReq) (res *v1.TSimPoolBindPackageAddPackageBatchConfirmRes, err error)
|
||||
TSimPoolWarnConfigList(ctx context.Context, req *v1.TSimPoolWarnConfigListReq) (res *v1.TSimPoolWarnConfigListRes, err error)
|
||||
TSimPoolWarnConfigExport(ctx context.Context, req *v1.TSimPoolWarnConfigExportReq) (res *v1.TSimPoolWarnConfigExportRes, err error)
|
||||
TSimPoolWarnConfigView(ctx context.Context, req *v1.TSimPoolWarnConfigViewReq) (res *v1.TSimPoolWarnConfigViewRes, err error)
|
||||
TSimPoolWarnConfigEdit(ctx context.Context, req *v1.TSimPoolWarnConfigEditReq) (res *v1.TSimPoolWarnConfigEditRes, err error)
|
||||
TSimPoolWarnConfigDelete(ctx context.Context, req *v1.TSimPoolWarnConfigDeleteReq) (res *v1.TSimPoolWarnConfigDeleteRes, err error)
|
||||
TSimUpstreamPackageList(ctx context.Context, req *v1.TSimUpstreamPackageListReq) (res *v1.TSimUpstreamPackageListRes, err error)
|
||||
TSimUpstreamPackageExport(ctx context.Context, req *v1.TSimUpstreamPackageExportReq) (res *v1.TSimUpstreamPackageExportRes, err error)
|
||||
TSimUpstreamPackageView(ctx context.Context, req *v1.TSimUpstreamPackageViewReq) (res *v1.TSimUpstreamPackageViewRes, err error)
|
||||
TSimUpstreamPackageEdit(ctx context.Context, req *v1.TSimUpstreamPackageEditReq) (res *v1.TSimUpstreamPackageEditRes, err error)
|
||||
TSimUpstreamPackageDelete(ctx context.Context, req *v1.TSimUpstreamPackageDeleteReq) (res *v1.TSimUpstreamPackageDeleteRes, err error)
|
||||
TSimWarningConfigExcelTemplate(ctx context.Context, req *v1.TSimWarningConfigExcelTemplateReq) (res *v1.TSimWarningConfigExcelTemplateRes, err error)
|
||||
TSimWarningConfigEmailCode(ctx context.Context, req *v1.TSimWarningConfigEmailCodeReq) (res *v1.TSimWarningConfigEmailCodeRes, err error)
|
||||
TSimWarningConfigExcelSubmit(ctx context.Context, req *v1.TSimWarningConfigExcelSubmitReq) (res *v1.TSimWarningConfigExcelSubmitRes, err error)
|
||||
TSimWarningConfigInputSubmit(ctx context.Context, req *v1.TSimWarningConfigInputSubmitReq) (res *v1.TSimWarningConfigInputSubmitRes, err error)
|
||||
TSimWarningConfigRangeSubmit(ctx context.Context, req *v1.TSimWarningConfigRangeSubmitReq) (res *v1.TSimWarningConfigRangeSubmitRes, err error)
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/service/fullsyncretry"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type FullSyncRunsListReq struct {
|
||||
g.Meta `path:"/fullSyncRuns" method:"get" tags:"全量同步" summary:"查询全量同步" x-check-permission:"cpm:iot:fullSyncRuns:view"`
|
||||
SyncKind string `json:"syncKind"`
|
||||
Limit int `json:"limit"`
|
||||
}
|
||||
|
||||
type FullSyncRunsListRes struct {
|
||||
Items []fullsyncretry.RunView `json:"items"`
|
||||
Total int `json:"total"`
|
||||
}
|
||||
|
||||
type FullSyncRunDetailReq struct {
|
||||
g.Meta `path:"/fullSyncRuns/{runId}" method:"get" tags:"全量同步" summary:"查看全量同步详情" x-check-permission:"cpm:iot:fullSyncRuns:view"`
|
||||
RunID string `json:"runId" v:"required"`
|
||||
}
|
||||
|
||||
type FullSyncRunDetailRes struct {
|
||||
fullsyncretry.RunView
|
||||
SyncKind string `json:"syncKind"`
|
||||
SyncName string `json:"syncName"`
|
||||
}
|
||||
|
||||
type FullSyncRunFailuresReq struct {
|
||||
g.Meta `path:"/fullSyncRuns/{runId}/failures" method:"get" tags:"全量同步" summary:"查看全量同步失败明细" x-check-permission:"cpm:iot:fullSyncRuns:failures"`
|
||||
RunID string `json:"runId" v:"required"`
|
||||
Limit int `json:"limit"`
|
||||
Cursor string `json:"cursor"`
|
||||
}
|
||||
|
||||
type FullSyncRunFailuresRes struct {
|
||||
Items []fullsyncretry.Failure `json:"items"`
|
||||
NextCursor string `json:"nextCursor"`
|
||||
}
|
||||
|
||||
type FullSyncRunStartReq struct {
|
||||
g.Meta `path:"/fullSyncRuns/start" method:"post" tags:"全量同步" summary:"手动启动全量同步" x-check-permission:"cpm:iot:fullSyncRuns:start"`
|
||||
SyncKind string `json:"syncKind" v:"required"`
|
||||
// Channels narrows the run to the listed chanKeys. Empty or omitted means a
|
||||
// full sync, which is the only behaviour that existed before this field.
|
||||
Channels []string `json:"channels"`
|
||||
// QueryDate backfills a specific day (yyyyMMdd) instead of the default
|
||||
// "yesterday". Only valid when syncKind=traffic_usage_daily; empty keeps the
|
||||
// default period.
|
||||
QueryDate string `json:"queryDate"`
|
||||
// QueryMonth backfills a specific month (yyyyMM) instead of the default
|
||||
// "previous month". Only valid when syncKind=traffic_usage_monthly; empty
|
||||
// keeps the default period.
|
||||
QueryMonth string `json:"queryMonth"`
|
||||
}
|
||||
|
||||
type FullSyncRunStartRes struct {
|
||||
RunID string `json:"runId"`
|
||||
SyncKind string `json:"syncKind"`
|
||||
Status string `json:"status"`
|
||||
// ScopeChannels is the normalized channel count; 0 means a full sync.
|
||||
ScopeChannels int `json:"scopeChannels"`
|
||||
// QueryPeriod echoes the requested period (yyyyMMdd or yyyyMM); empty means
|
||||
// the run used its default period.
|
||||
QueryPeriod string `json:"queryPeriod"`
|
||||
}
|
||||
|
||||
type FullSyncChannelOptionsReq struct {
|
||||
g.Meta `path:"/fullSyncRuns/channels" method:"get" tags:"全量同步" summary:"可同步通道候选" x-check-permission:"cpm:iot:fullSyncRuns:view"`
|
||||
}
|
||||
|
||||
type FullSyncChannelOptionsRes struct {
|
||||
Items []FullSyncChannelOption `json:"items"`
|
||||
}
|
||||
|
||||
type FullSyncChannelOption struct {
|
||||
ChanKey string `json:"chanKey"`
|
||||
ChanName string `json:"chanName"`
|
||||
TempKey string `json:"tempKey"`
|
||||
Operator int `json:"operator"`
|
||||
CardCount int64 `json:"cardCount"`
|
||||
SyncEnabled bool `json:"syncEnabled"`
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package v1
|
||||
|
||||
import "github.com/gogf/gf/v2/frame/g"
|
||||
|
||||
type FullSyncReplayReq struct {
|
||||
g.Meta `path:"/fullSyncRuns/replay" method:"post" tags:"全量同步" summary:"重投Run失败卡" x-check-permission:"cpm:iot:fullSyncRuns:replay"`
|
||||
SourceRunID string `json:"sourceRunId" v:"required"`
|
||||
// MaxRounds 省略或为 0 时使用 Worker 配置默认值(当前 3);显式范围为 1..100。
|
||||
MaxRounds int `json:"maxRounds" v:"min:0|max:100"`
|
||||
}
|
||||
|
||||
type FullSyncReplayRes struct {
|
||||
ReplayRunID string `json:"replayRunId"`
|
||||
Status string `json:"status"`
|
||||
}
|
||||
|
||||
type FullSyncReplayStatusReq struct {
|
||||
g.Meta `path:"/fullSyncRuns/replay/{replayRunId}" method:"get" tags:"全量同步" summary:"查看重投状态" x-check-permission:"cpm:iot:fullSyncRuns:replay:view"`
|
||||
ReplayRunID string `json:"replayRunId" v:"required"`
|
||||
}
|
||||
|
||||
type FullSyncReplayStatusRes struct {
|
||||
ReplayRunID string `json:"replayRunId"`
|
||||
SourceRunID string `json:"sourceRunId"`
|
||||
Status string `json:"status"`
|
||||
Remaining int64 `json:"remaining"`
|
||||
Enqueued int64 `json:"enqueued"`
|
||||
RunStatus string `json:"runStatus,omitempty"`
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
// Package torder
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <li@xiujie.cn>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type SimWarningConfigListReq struct {
|
||||
g.Meta `path:"/simWarningConfig/list" method:"get" tags:"单卡预警配置" summary:"获取单卡预警配置列表" x-check-permission:"cpm:iot:simWarningConfig:list"`
|
||||
model.SimWarningConfigListParam
|
||||
}
|
||||
|
||||
type SimWarningConfigListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.SimWarningConfigModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
type SimWarningConfigViewReq struct {
|
||||
g.Meta `path:"/simWarningConfig/view" method:"get" tags:"单卡预警配置" summary:"获取单卡预警配置详情" x-check-permission:"cpm:iot:simWarningConfig:view"`
|
||||
model.SimWarningConfigViewParam
|
||||
}
|
||||
|
||||
type SimWarningConfigViewRes struct {
|
||||
*model.SimWarningConfigModel
|
||||
}
|
||||
|
||||
type SimWarningConfigSaveReq struct {
|
||||
g.Meta `path:"/simWarningConfig/save" method:"post" tags:"单卡预警配置" summary:"保存单卡预警配置" x-check-permission:"cpm:iot:simWarningConfig:save"`
|
||||
model.SimWarningConfigSaveParam
|
||||
}
|
||||
|
||||
type SimWarningConfigSaveRes struct {
|
||||
*model.SimWarningConfigSaveModel
|
||||
}
|
||||
|
||||
type SimWarningConfigStatusReq struct {
|
||||
g.Meta `path:"/simWarningConfig/status" method:"post" tags:"单卡预警配置" summary:"启停单卡预警配置" x-check-permission:"cpm:iot:simWarningConfig:status"`
|
||||
model.SimWarningConfigStatusParam
|
||||
}
|
||||
|
||||
type SimWarningConfigStatusRes struct{}
|
||||
|
||||
type SimWarningConfigDeleteReq struct {
|
||||
g.Meta `path:"/simWarningConfig/delete" method:"post" tags:"单卡预警配置" summary:"删除单卡预警配置" x-check-permission:"cpm:iot:simWarningConfig:delete"`
|
||||
model.SimWarningConfigDeleteParam
|
||||
}
|
||||
|
||||
type SimWarningConfigDeleteRes struct{}
|
||||
@@ -0,0 +1,59 @@
|
||||
// Package tflowpackageconfig
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <li@xiujie.cn>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package v1 //tflowpackageconfig
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// ListReq 查询SIM流量池套餐配置表列表
|
||||
type TFlowPackageConfigListReq struct {
|
||||
g.Meta `path:"/tFlowPackageConfig/list" method:"get" tags:"SIM流量池套餐配置表" summary:"获取SIM流量池套餐配置表列表" x-check-permission:"cpm:iot:tFlowPackageConfig:list"`
|
||||
model.TFlowPackageConfigListParam
|
||||
}
|
||||
|
||||
type TFlowPackageConfigListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TFlowPackageConfigListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出SIM流量池套餐配置表列表
|
||||
type TFlowPackageConfigExportReq struct {
|
||||
g.Meta `path:"/tFlowPackageConfig/export" method:"post" tags:"SIM流量池套餐配置表" summary:"导出SIM流量池套餐配置表列表" x-check-permission:"cpm:iot:tFlowPackageConfig:export"`
|
||||
model.TFlowPackageConfigListParam
|
||||
}
|
||||
|
||||
type TFlowPackageConfigExportRes struct{}
|
||||
|
||||
// ViewReq 获取SIM流量池套餐配置表指定信息
|
||||
type TFlowPackageConfigViewReq struct {
|
||||
g.Meta `path:"/tFlowPackageConfig/view" method:"get" tags:"SIM流量池套餐配置表" summary:"获取SIM流量池套餐配置表指定信息" x-check-permission:"cpm:iot:tFlowPackageConfig:view"`
|
||||
model.TFlowPackageConfigViewParam
|
||||
}
|
||||
|
||||
type TFlowPackageConfigViewRes struct {
|
||||
*model.TFlowPackageConfigViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增SIM流量池套餐配置表
|
||||
type TFlowPackageConfigEditReq struct {
|
||||
g.Meta `path:"/tFlowPackageConfig/edit" method:"post" tags:"SIM流量池套餐配置表" summary:"修改/新增SIM流量池套餐配置表" x-check-permission:"cpm:iot:tFlowPackageConfig:edit"`
|
||||
model.TFlowPackageConfigEditParam
|
||||
}
|
||||
|
||||
type TFlowPackageConfigEditRes struct{}
|
||||
|
||||
// DeleteReq 删除SIM流量池套餐配置表
|
||||
type TFlowPackageConfigDeleteReq struct {
|
||||
g.Meta `path:"/tFlowPackageConfig/delete" method:"post" tags:"SIM流量池套餐配置表" summary:"删除SIM流量池套餐配置表" x-check-permission:"cpm:iot:tFlowPackageConfig:delete"`
|
||||
model.TFlowPackageConfigDeleteParam
|
||||
}
|
||||
|
||||
type TFlowPackageConfigDeleteRes struct{}
|
||||
@@ -0,0 +1,70 @@
|
||||
// Package torder
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <li@xiujie.cn>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package v1 //torder
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// ListReq 查询订单主表列表
|
||||
type TOrderListReq struct {
|
||||
g.Meta `path:"/tOrder/list" method:"get" tags:"订单主表" summary:"获取订单主表列表" x-check-permission:"cpm:iot:tOrder:list"`
|
||||
model.TOrderListParam
|
||||
}
|
||||
|
||||
type TOrderListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TOrderListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出订单主表列表
|
||||
type TOrderExportReq struct {
|
||||
g.Meta `path:"/tOrder/export" method:"post" tags:"订单主表" summary:"导出订单主表列表" x-check-permission:"cpm:iot:tOrder:export"`
|
||||
model.TOrderListParam
|
||||
}
|
||||
|
||||
type TOrderExportRes struct{}
|
||||
|
||||
// ViewReq 获取订单主表指定信息
|
||||
type TOrderViewReq struct {
|
||||
g.Meta `path:"/tOrder/view" method:"get" tags:"订单主表" summary:"获取订单主表指定信息" x-check-permission:"cpm:iot:tOrder:view"`
|
||||
model.TOrderViewParam
|
||||
}
|
||||
|
||||
type TOrderViewRes struct {
|
||||
*model.TOrderViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增订单主表
|
||||
type TOrderEditReq struct {
|
||||
g.Meta `path:"/tOrder/edit" method:"post" tags:"订单主表" summary:"修改/新增订单主表" x-check-permission:"cpm:iot:tOrder:edit"`
|
||||
model.TOrderEditParam
|
||||
}
|
||||
|
||||
type TOrderEditRes struct{}
|
||||
|
||||
// DeleteReq 删除订单主表
|
||||
type TOrderDeleteReq struct {
|
||||
g.Meta `path:"/tOrder/delete" method:"post" tags:"订单主表" summary:"删除订单主表" x-check-permission:"cpm:iot:tOrder:delete"`
|
||||
model.TOrderDeleteParam
|
||||
}
|
||||
|
||||
type TOrderDeleteRes struct{}
|
||||
|
||||
// SellListReq 获取销售订单列表
|
||||
type TOrderSellListReq struct {
|
||||
g.Meta `path:"/tOrder/sellList" method:"get" tags:"订单主表" summary:"获取销售订单列表" x-check-permission:"cpm:iot:tOrder:sellList"`
|
||||
model.TOrderListParam
|
||||
}
|
||||
|
||||
type TOrderSellListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TOrderListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
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 {
|
||||
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
|
||||
}
|
||||
@@ -0,0 +1,136 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimCardBindPkgListReq struct {
|
||||
g.Meta `path:"/tSimCardBindPkg/list" method:"get" tags:"订购表" summary:"获取订购表列表" x-check-permission:"cpm:iot:tSimCardBindPkg:list"`
|
||||
model.TSimCardBindPkgListParam
|
||||
}
|
||||
|
||||
type TSimCardBindPkgListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimCardBindPkgListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
type TSimCardBindPkgExportReq struct {
|
||||
g.Meta `path:"/tSimCardBindPkg/export" method:"post" tags:"订购表" summary:"导出订购表列表" x-check-permission:"cpm:iot:tSimCardBindPkg:export"`
|
||||
model.TSimCardBindPkgListParam
|
||||
}
|
||||
|
||||
type TSimCardBindPkgExportRes struct{}
|
||||
|
||||
type TSimCardBindPkgViewReq struct {
|
||||
g.Meta `path:"/tSimCardBindPkg/view" method:"get" tags:"订购表" summary:"获取订购表详情" x-check-permission:"cpm:iot:tSimCardBindPkg:view"`
|
||||
model.TSimCardBindPkgViewParam
|
||||
}
|
||||
|
||||
type TSimCardBindPkgViewRes struct {
|
||||
*model.TSimCardBindPkgViewModel
|
||||
}
|
||||
|
||||
type TSimCardBindPkgEditReq struct {
|
||||
g.Meta `path:"/tSimCardBindPkg/edit" method:"post" tags:"订购表" summary:"新增或修改订购表" x-check-permission:"cpm:iot:tSimCardBindPkg:edit"`
|
||||
model.TSimCardBindPkgEditParam
|
||||
}
|
||||
|
||||
type TSimCardBindPkgEditRes struct{}
|
||||
|
||||
type TSimCardBindPkgDeleteReq struct {
|
||||
g.Meta `path:"/tSimCardBindPkg/delete" method:"post" tags:"订购表" summary:"删除订购表" x-check-permission:"cpm:iot:tSimCardBindPkg:delete"`
|
||||
model.TSimCardBindPkgDeleteParam
|
||||
}
|
||||
|
||||
type TSimCardBindPkgDeleteRes struct{}
|
||||
|
||||
type TSimCardBindPkgGetPkgInfoReq struct {
|
||||
g.Meta `path:"/tSimCardBindPkg/getPkgInfo" method:"get" tags:"订购表" summary:"套餐详情查询" x-check-permission:"cpm:iot:tSimCardBindPkg:getPkgInfo"`
|
||||
model.TSimCardBindPkgInfoParam
|
||||
}
|
||||
|
||||
type TSimCardBindPkgGetPkgInfoRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimCardBindPkgListModel `json:"items" dc:"套餐详情列表"`
|
||||
}
|
||||
|
||||
type TSimCardBindPkgGetChangePkgReq struct {
|
||||
g.Meta `path:"/tSimCardBindPkg/getChangePkg" method:"get" tags:"订购表" summary:"变更套餐查询" x-check-permission:"cpm:iot:tSimCardBindPkg:getChangePkg"`
|
||||
model.TSimCardBindPkgInfoParam
|
||||
}
|
||||
|
||||
type TSimCardBindPkgGetChangePkgRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimCardBindPkgListModel `json:"items" dc:"变更套餐列表"`
|
||||
}
|
||||
|
||||
type TSimCardBindPkgAddPackageOptionsReq struct {
|
||||
g.Meta `path:"/tSimCardBindPkg/addPackage/options" method:"post" tags:"加油包" summary:"获取单卡可订购加油包" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
|
||||
model.TSimCardAddPackageOptionsParam
|
||||
}
|
||||
|
||||
type TSimCardBindPkgAddPackageOptionsRes struct {
|
||||
*model.TSimAddPackageOptionsRes
|
||||
}
|
||||
|
||||
type TSimCardBindPkgAddPackagePaymentContextReq struct {
|
||||
g.Meta `path:"/tSimCardBindPkg/addPackage/payment-context" method:"post" tags:"加油包" summary:"获取单卡加油包支付上下文" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
|
||||
}
|
||||
|
||||
type TSimCardBindPkgAddPackagePaymentContextRes struct {
|
||||
*model.TSimAddPackageOptionsRes
|
||||
}
|
||||
|
||||
type TSimCardBindPkgDownloadExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardBindPkg/addPackage/excel/template" method:"get" tags:"加油包" summary:"下载单卡加油包导入模板" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
|
||||
}
|
||||
|
||||
type TSimCardBindPkgDownloadExcelTemplateRes struct{}
|
||||
|
||||
type TSimCardBindPkgSubmitExcelReq struct {
|
||||
g.Meta `path:"/tSimCardBindPkg/addPackage/excel/submit" method:"post" tags:"加油包" summary:"提交单卡加油包Excel批次" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
|
||||
model.TSimCardBindPkgAddPackageExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardBindPkgSubmitExcelRes struct {
|
||||
*model.TSimCardBindPkgAddPackageExcelSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardBindPkgSubmitInputReq struct {
|
||||
g.Meta `path:"/tSimCardBindPkg/addPackage/input/submit" method:"post" tags:"加油包" summary:"提交单卡加油包手输批次" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
|
||||
model.TSimCardBindPkgAddPackageInputSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardBindPkgSubmitInputRes struct {
|
||||
*model.TSimCardBindPkgAddPackageInputSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardBindPkgAddPackageInputPrepareReq struct {
|
||||
g.Meta `path:"/tSimCardBindPkg/addPackage/input/prepare" method:"post" tags:"加油包" summary:"单卡加油包手输预处理" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
|
||||
model.TSimCardBindPkgAddPackageInputPrepareParam
|
||||
}
|
||||
|
||||
type TSimCardBindPkgAddPackageInputPrepareRes struct {
|
||||
*model.TSimCardBindPkgAddPackageInputPrepareRes
|
||||
}
|
||||
|
||||
type TSimCardBindPkgAddPackagePrepareResultReq struct {
|
||||
g.Meta `path:"/tSimCardBindPkg/addPackage/prepare/result" method:"get" tags:"加油包" summary:"查询单卡加油包预处理结果" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
|
||||
BatchNo string `json:"batchNo" v:"required#批次号不能为空" in:"query" dc:"批次号"`
|
||||
}
|
||||
|
||||
type TSimCardBindPkgAddPackagePrepareResultRes struct {
|
||||
*model.TSimCardBindPkgAddPackagePrepareResultRes
|
||||
}
|
||||
|
||||
type TSimCardBindPkgAddPackageBatchConfirmReq struct {
|
||||
g.Meta `path:"/tSimCardBindPkg/addPackage/batch/confirm" method:"post" tags:"加油包" summary:"确认单卡加油包采购批次" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
|
||||
model.TSimCardBindPkgAddPackageBatchConfirmParam
|
||||
}
|
||||
|
||||
type TSimCardBindPkgAddPackageBatchConfirmRes struct {
|
||||
*model.TSimCardBindPkgAddPackageBatchConfirmRes
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimCardCancelExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardCancel/excel/template" method:"get" tags:"卡销户" summary:"下载批量卡销户Excel模板" x-check-permission:"cpm:iot:tSimCardCancel:excel:template"`
|
||||
}
|
||||
|
||||
type TSimCardCancelExcelTemplateRes struct{}
|
||||
|
||||
type TSimCardCancelExcelSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardCancel/excel/submit" method:"post" tags:"卡销户" summary:"提交Excel批量卡销户" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardCancel:excel:submit"`
|
||||
model.TSimCardCancelExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardCancelExcelSubmitRes struct {
|
||||
*model.TSimCardCancelExcelSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardCancelInputSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardCancel/input/submit" method:"post" tags:"卡销户" summary:"提交批量输入卡销户" x-check-permission:"cpm:iot:tSimCardCancel:input:submit"`
|
||||
model.TSimCardCancelInputSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardCancelInputSubmitRes struct {
|
||||
*model.TSimCardCancelInputSubmitRes
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimCardCancellationListReq struct {
|
||||
g.Meta `path:"/tSimCardCancellation/list" method:"get" tags:"销户卡信息" summary:"获取销户卡信息列表" x-check-permission:"cpm:iot:tSimCardCancellation:list"`
|
||||
model.TSimCardCancellationListParam
|
||||
}
|
||||
|
||||
type TSimCardCancellationListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimCardCancellationListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
type TSimCardCancellationExportReq struct {
|
||||
g.Meta `path:"/tSimCardCancellation/export" method:"post" tags:"销户卡信息" summary:"导出销户卡信息" x-check-permission:"cpm:iot:tSimCardCancellation:export"`
|
||||
model.TSimCardCancellationFilter
|
||||
}
|
||||
|
||||
type TSimCardCancellationExportRes struct{}
|
||||
@@ -0,0 +1,76 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimCardChangeExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardChange/excel/template" method:"get" tags:"卡变更套餐" summary:"下载Excel卡变更套餐模板" x-check-permission:"cpm:iot:tSimCardChange:excel:template"`
|
||||
}
|
||||
|
||||
type TSimCardChangeExcelTemplateRes struct{}
|
||||
|
||||
type TSimCardChangeExcelSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardChange/excel/submit" method:"post" tags:"卡变更套餐" summary:"提交Excel卡变更套餐" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardChange:excel:submit"`
|
||||
model.TSimCardChangeExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardChangeExcelSubmitRes struct {
|
||||
*model.TSimCardChangeExcelSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardChangeInputOptionsReq struct {
|
||||
g.Meta `path:"/tSimCardChange/input/change-options" method:"post" tags:"卡变更套餐" summary:"获取批量输入卡可变更套餐" x-check-permission:"cpm:iot:tSimCardChange:input:prepare"`
|
||||
model.TSimCardChangeInputOptionsParam
|
||||
}
|
||||
|
||||
type TSimCardChangeInputOptionsRes struct {
|
||||
*model.TSimCardChangeOptionsRes
|
||||
}
|
||||
|
||||
type TSimCardChangeRangeOptionsReq struct {
|
||||
g.Meta `path:"/tSimCardChange/range/change-options" method:"post" tags:"卡变更套餐" summary:"获取连号卡可变更套餐" x-check-permission:"cpm:iot:tSimCardChange:range:prepare"`
|
||||
model.TSimCardChangeRangeOptionsParam
|
||||
}
|
||||
|
||||
type TSimCardChangeRangeOptionsRes struct {
|
||||
*model.TSimCardChangeOptionsRes
|
||||
}
|
||||
|
||||
type TSimCardChangeInputPrepareReq struct {
|
||||
g.Meta `path:"/tSimCardChange/input/prepare" method:"post" tags:"卡变更套餐" summary:"批量输入卡变更套餐预处理" x-check-permission:"cpm:iot:tSimCardChange:input:prepare"`
|
||||
model.TSimCardChangeInputPrepareParam
|
||||
}
|
||||
|
||||
type TSimCardChangeInputPrepareRes struct {
|
||||
*model.TSimCardChangeBatchPrepareRes
|
||||
}
|
||||
|
||||
type TSimCardChangeRangePrepareReq struct {
|
||||
g.Meta `path:"/tSimCardChange/range/prepare" method:"post" tags:"卡变更套餐" summary:"连号卡变更套餐预处理" x-check-permission:"cpm:iot:tSimCardChange:range:prepare"`
|
||||
model.TSimCardChangeRangePrepareParam
|
||||
}
|
||||
|
||||
type TSimCardChangeRangePrepareRes struct {
|
||||
*model.TSimCardChangeBatchPrepareRes
|
||||
}
|
||||
|
||||
type TSimCardChangeBatchSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardChange/batch/submit" method:"post" tags:"卡变更套餐" summary:"提交批次卡变更套餐" x-check-permission:"cpm:iot:tSimCardChange:batch:submit"`
|
||||
model.TSimCardChangeBatchSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardChangeBatchSubmitRes struct {
|
||||
*model.TSimCardChangeBatchSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardChangePrepareResultReq struct {
|
||||
g.Meta `path:"/tSimCardChange/prepare/result" method:"get" tags:"卡变更套餐" summary:"查询卡变更预处理结果" x-check-permission:"cpm:iot:tSimCardChange:prepare:result"`
|
||||
BatchNo string `json:"batchNo" v:"required#批次号不能为空" in:"query" dc:"批次号"`
|
||||
}
|
||||
|
||||
type TSimCardChangePrepareResultRes struct {
|
||||
*model.TSimCardChangePrepareResultRes
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimCardDataCutExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardDataCut/excel/template" method:"get" tags:"达量断网" summary:"下载批量达量断网Excel模板" x-check-permission:"cpm:iot:tSimCardDataCut:excel:template"`
|
||||
}
|
||||
|
||||
type TSimCardDataCutExcelTemplateRes struct{}
|
||||
|
||||
type TSimCardDataCutExcelSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardDataCut/excel/submit" method:"post" tags:"达量断网" summary:"提交Excel批量达量断网" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardDataCut:excel:submit"`
|
||||
model.TSimCardDataCutExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardDataCutExcelSubmitRes struct {
|
||||
*model.TSimCardDataCutExcelSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardDataCutInputSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardDataCut/input/submit" method:"post" tags:"达量断网" summary:"提交批量输入达量断网" x-check-permission:"cpm:iot:tSimCardDataCut:input:submit"`
|
||||
model.TSimCardDataCutInputSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardDataCutInputSubmitRes struct {
|
||||
*model.TSimCardDataCutInputSubmitRes
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimCardDataStartExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardDataStart/excel/template" method:"get" tags:"数据服务开通" summary:"下载批量数据服务开通Excel模板" x-check-permission:"cpm:iot:tSimCardDataStart:excel:template"`
|
||||
}
|
||||
|
||||
type TSimCardDataStartExcelTemplateRes struct{}
|
||||
|
||||
type TSimCardDataStartExcelSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardDataStart/excel/submit" method:"post" tags:"数据服务开通" summary:"提交Excel批量数据服务开通" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardDataStart:excel:submit"`
|
||||
model.TSimCardDataStartExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardDataStartExcelSubmitRes struct {
|
||||
*model.TSimCardDataStartSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardDataStartInputSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardDataStart/input/submit" method:"post" tags:"数据服务开通" summary:"提交批量输入数据服务开通" x-check-permission:"cpm:iot:tSimCardDataStart:input:submit"`
|
||||
model.TSimCardDataStartInputSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardDataStartInputSubmitRes struct {
|
||||
*model.TSimCardDataStartSubmitRes
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimCardDataStopExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardDataStop/excel/template" method:"get" tags:"数据服务停用" summary:"下载批量数据服务停用Excel模板" x-check-permission:"cpm:iot:tSimCardDataStop:excel:template"`
|
||||
}
|
||||
|
||||
type TSimCardDataStopExcelTemplateRes struct{}
|
||||
|
||||
type TSimCardDataStopExcelSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardDataStop/excel/submit" method:"post" tags:"数据服务停用" summary:"提交Excel批量数据服务停用" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardDataStop:excel:submit"`
|
||||
model.TSimCardDataStopExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardDataStopExcelSubmitRes struct {
|
||||
*model.TSimCardDataStopSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardDataStopInputSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardDataStop/input/submit" method:"post" tags:"数据服务停用" summary:"提交批量输入数据服务停用" x-check-permission:"cpm:iot:tSimCardDataStop:input:submit"`
|
||||
model.TSimCardDataStopInputSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardDataStopInputSubmitRes struct {
|
||||
*model.TSimCardDataStopSubmitRes
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimCardInboundExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardInbound/excel/template" method:"get" tags:"卡入库" summary:"下载Excel批量卡入库模板" x-check-permission:"cpm:iot:tSimCardInbound:excel:template"`
|
||||
}
|
||||
|
||||
type TSimCardInboundExcelTemplateRes struct{}
|
||||
|
||||
type TSimCardInboundExcelSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardInbound/excel/submit" method:"post" tags:"卡入库" summary:"提交Excel批量卡入库" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardInbound:excel:submit"`
|
||||
model.TSimCardInboundExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardInboundExcelSubmitRes struct {
|
||||
*model.TSimCardInboundExcelSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardInboundRangeSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardInbound/range/submit" method:"post" tags:"卡入库" summary:"提交连号批量卡入库" x-check-permission:"cpm:iot:tSimCardInbound:range:submit"`
|
||||
model.TSimCardInboundRangeSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardInboundRangeSubmitRes struct {
|
||||
*model.TSimCardInboundRangeSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardInboundInputSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardInbound/input/submit" method:"post" tags:"卡入库" summary:"提交批量输入卡入库" x-check-permission:"cpm:iot:tSimCardInbound:input:submit"`
|
||||
model.TSimCardInboundInputSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardInboundInputSubmitRes struct {
|
||||
*model.TSimCardInboundInputSubmitRes
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
// Package tsimcardinfo
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <li@xiujie.cn>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package v1 //tsimcardinfo
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// ListReq 查询卡信息表列表
|
||||
type TSimCardInfoListReq struct {
|
||||
g.Meta `path:"/tSimCardInfo/list" method:"get" tags:"卡信息表" summary:"获取卡信息表列表" x-check-permission:"cpm:iot:tSimCardInfo:list"`
|
||||
model.TSimCardInfoListParam
|
||||
}
|
||||
|
||||
type TSimCardInfoListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimCardInfoListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出卡信息表列表
|
||||
type TSimCardInfoExportReq struct {
|
||||
g.Meta `path:"/tSimCardInfo/export" method:"post" tags:"卡信息表" summary:"导出卡信息表列表" x-check-permission:"cpm:iot:tSimCardInfo:export"`
|
||||
model.TSimCardInfoListParam
|
||||
}
|
||||
|
||||
type TSimCardInfoExportRes struct{}
|
||||
|
||||
// ViewReq 获取卡信息表指定信息
|
||||
type TSimCardInfoViewReq struct {
|
||||
g.Meta `path:"/tSimCardInfo/view" method:"get" tags:"卡信息表" summary:"获取卡信息表指定信息" x-check-permission:"cpm:iot:tSimCardInfo:view"`
|
||||
model.TSimCardInfoViewParam
|
||||
}
|
||||
|
||||
type TSimCardInfoViewRes struct {
|
||||
*model.TSimCardInfoViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增卡信息表
|
||||
type TSimCardInfoEditReq struct {
|
||||
g.Meta `path:"/tSimCardInfo/edit" method:"post" tags:"卡信息表" summary:"修改/新增卡信息表" x-check-permission:"cpm:iot:tSimCardInfo:edit"`
|
||||
model.TSimCardInfoEditParam
|
||||
}
|
||||
|
||||
type TSimCardInfoEditRes struct{}
|
||||
|
||||
// DeleteReq 删除卡信息表
|
||||
type TSimCardInfoDeleteReq struct {
|
||||
g.Meta `path:"/tSimCardInfo/delete" method:"post" tags:"卡信息表" summary:"删除卡信息表" x-check-permission:"cpm:iot:tSimCardInfo:delete"`
|
||||
model.TSimCardInfoDeleteParam
|
||||
}
|
||||
|
||||
type TSimCardInfoDeleteRes struct{}
|
||||
|
||||
// SyncSimCardFlowReq 同步SIM卡流量
|
||||
type TSimCardInfoSyncSimCardFlowReq struct {
|
||||
g.Meta `path:"/tSimCardInfo/syncSimCardFlow" method:"post" tags:"卡信息表" summary:"同步SIM卡流量" x-check-permission:"cpm:iot:tSimCardInfo:syncCardFlow"`
|
||||
model.SyncSimCardFlowInput
|
||||
}
|
||||
type TSimCardInfoSyncSimCardFlowRes struct{}
|
||||
|
||||
// SyncSimCardStatusReq 同步SIM卡状态
|
||||
type TSimCardInfoSyncSimCardStatusReq struct {
|
||||
g.Meta `path:"/tSimCardInfo/syncSimCardStatus" method:"post" tags:"卡信息表" summary:"同步SIM卡状态" x-check-permission:"cpm:iot:tSimCardInfo:syncSimCardStatus"`
|
||||
model.SyncSimCardStatusInput
|
||||
}
|
||||
type TSimCardInfoSyncSimCardStatusRes struct{}
|
||||
|
||||
// SyncSimCardStatusQueueReq enqueues one SIM status query without calling the
|
||||
// legacy synchronous status implementation.
|
||||
type TSimCardInfoSyncSimCardStatusQueueReq struct {
|
||||
g.Meta `path:"/tSimCardInfo/syncSimCardStatusQueue" method:"post" tags:"卡信息表" summary:"异步同步SIM卡状态" x-check-permission:"cpm:iot:tSimCardInfo:syncSimCardStatusQueue"`
|
||||
model.SyncSimCardStatusInput
|
||||
}
|
||||
type TSimCardInfoSyncSimCardStatusQueueRes struct{}
|
||||
|
||||
// QuerySimSessionReq 查询SIM卡会话
|
||||
type TSimCardInfoQuerySimSessionReq struct {
|
||||
g.Meta `path:"/tSimCardInfo/querySimSession" method:"get" tags:"卡信息表" summary:"查询SIM卡会话" x-check-permission:"cpm:iot:tSimCardInfo:querySimSession"`
|
||||
model.QuerySimSessionInput
|
||||
}
|
||||
type TSimCardInfoQuerySimSessionRes struct {
|
||||
*model.QuerySimSessionOutput
|
||||
}
|
||||
|
||||
// QuerySimStatusReq 查询SIM卡状态
|
||||
type TSimCardInfoQuerySimStatusReq struct {
|
||||
g.Meta `path:"/tSimCardInfo/querySimStatus" method:"get" tags:"卡信息表" summary:"查询SIM卡状态" x-check-permission:"cpm:iot:tSimCardInfo:querySimStatus"`
|
||||
model.QuerySimStatusInput
|
||||
}
|
||||
type TSimCardInfoQuerySimStatusRes struct {
|
||||
*model.QuerySimStatusOutput
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimCardOutboundExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardOutbound/excel/template" method:"get" tags:"卡出库" summary:"下载Excel批量卡出库模板" x-check-permission:"cpm:iot:tSimCardOutbound:excel:template"`
|
||||
}
|
||||
|
||||
type TSimCardOutboundExcelTemplateRes struct{}
|
||||
|
||||
type TSimCardOutboundExcelSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardOutbound/excel/submit" method:"post" tags:"卡出库" summary:"提交Excel批量卡出库校验批次" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardOutbound:excel:submit"`
|
||||
model.TSimCardOutboundExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardOutboundExcelSubmitRes struct {
|
||||
*model.TSimCardOutboundExcelSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardOutboundRangeSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardOutbound/range/submit" method:"post" tags:"卡出库" summary:"提交连号卡出库校验批次" x-check-permission:"cpm:iot:tSimCardOutbound:range:submit"`
|
||||
model.TSimCardOutboundRangeSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardOutboundRangeSubmitRes struct {
|
||||
*model.TSimCardOutboundRangeSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardOutboundInputSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardOutbound/input/submit" method:"post" tags:"卡出库" summary:"提交批量输入卡出库" x-check-permission:"cpm:iot:tSimCardOutbound:input:submit"`
|
||||
model.TSimCardOutboundInputSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardOutboundInputSubmitRes struct {
|
||||
*model.TSimCardOutboundInputSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardOutboundInboundBatchListReq struct {
|
||||
g.Meta `path:"/tSimCardOutbound/inboundBatch/list" method:"get" tags:"卡出库" summary:"查询可出库批次列表" x-check-permission:"cpm:iot:tSimCardOutbound:inboundBatch:list"`
|
||||
model.TSimCardOutboundInboundBatchListParam
|
||||
}
|
||||
|
||||
type TSimCardOutboundInboundBatchListRes struct {
|
||||
*model.TSimCardOutboundInboundBatchListRes
|
||||
}
|
||||
|
||||
type TSimCardOutboundInboundBatchCardsReq struct {
|
||||
g.Meta `path:"/tSimCardOutbound/inboundBatch/cards" method:"get" tags:"卡出库" summary:"查询指定批次卡列表" x-check-permission:"cpm:iot:tSimCardOutbound:inboundBatch:cards"`
|
||||
model.TSimCardOutboundInboundBatchCardsParam
|
||||
}
|
||||
|
||||
type TSimCardOutboundInboundBatchCardsRes struct {
|
||||
*model.TSimCardOutboundInboundBatchCardsRes
|
||||
}
|
||||
|
||||
type TSimCardOutboundBatchSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardOutbound/batch/submit" method:"post" tags:"卡出库" summary:"提交指定批次卡出库" x-check-permission:"cpm:iot:tSimCardOutbound:batch:submit"`
|
||||
model.TSimCardOutboundBatchSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardOutboundBatchSubmitRes struct {
|
||||
*model.TSimCardOutboundBatchSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardOutboundCustomerBalanceReq struct {
|
||||
g.Meta `path:"/tSimCardOutbound/customerBalance" method:"get" tags:"卡出库" summary:"查询出库客户账户余额" x-check-permission:""`
|
||||
model.TSimCardOutboundCustomerBalanceParam
|
||||
}
|
||||
|
||||
type TSimCardOutboundCustomerBalanceRes struct {
|
||||
*model.TSimCardOutboundCustomerBalanceRes
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimCardRenewExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardRenew/excel/template" method:"get" tags:"卡续费" summary:"下载Excel卡续费模板" x-check-permission:"cpm:iot:tSimCardRenew:excel:template"`
|
||||
}
|
||||
|
||||
type TSimCardRenewExcelTemplateRes struct{}
|
||||
|
||||
type TSimCardRenewExcelSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardRenew/excel/submit" method:"post" tags:"卡续费" summary:"提交Excel卡续费" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardRenew:excel:submit"`
|
||||
model.TSimCardRenewExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardRenewExcelSubmitRes struct {
|
||||
*model.TSimCardRenewExcelSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardRenewInputPrepareReq struct {
|
||||
g.Meta `path:"/tSimCardRenew/input/prepare" method:"post" tags:"卡续费" summary:"批量输入卡续费预处理" x-check-permission:"cpm:iot:tSimCardRenew:input:prepare"`
|
||||
model.TSimCardRenewInputPrepareParam
|
||||
}
|
||||
|
||||
type TSimCardRenewInputPrepareRes struct {
|
||||
*model.TSimCardRenewBatchPrepareRes
|
||||
}
|
||||
|
||||
type TSimCardRenewBatchConfirmReq struct {
|
||||
g.Meta `path:"/tSimCardRenew/batch/confirm" method:"post" tags:"卡续费" summary:"确认批次卡续费" x-check-permission:"cpm:iot:tSimCardRenew:batch:confirm"`
|
||||
model.TSimCardRenewBatchConfirmParam
|
||||
}
|
||||
|
||||
type TSimCardRenewBatchConfirmRes struct {
|
||||
*model.TSimCardRenewBatchConfirmRes
|
||||
}
|
||||
|
||||
type TSimCardRenewPrepareResultReq struct {
|
||||
g.Meta `path:"/tSimCardRenew/prepare/result" method:"get" tags:"卡续费" summary:"查询卡续费预处理结果" x-check-permission:"cpm:iot:tSimCardRenew:prepare:result"`
|
||||
BatchNo string `json:"batchNo" v:"required#批次号不能为空" in:"query" dc:"批次号"`
|
||||
}
|
||||
|
||||
type TSimCardRenewPrepareResultRes struct {
|
||||
*model.TSimCardRenewPrepareResultRes
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimCardRestartExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardRestart/excel/template" method:"get" tags:"自主重启" summary:"下载批量自主重启Excel模板" x-check-permission:"cpm:iot:tSimCardRestart:excel:template"`
|
||||
}
|
||||
|
||||
type TSimCardRestartExcelTemplateRes struct{}
|
||||
|
||||
type TSimCardRestartExcelSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardRestart/excel/submit" method:"post" tags:"自主重启" summary:"提交Excel批量自主重启" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardRestart:excel:submit"`
|
||||
model.TSimCardRestartExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardRestartExcelSubmitRes struct {
|
||||
*model.TSimCardRestartExcelSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardRestartInputSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardRestart/input/submit" method:"post" tags:"自主重启" summary:"提交批量输入自主重启" x-check-permission:"cpm:iot:tSimCardRestart:input:submit"`
|
||||
model.TSimCardRestartInputSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardRestartInputSubmitRes struct {
|
||||
*model.TSimCardRestartInputSubmitRes
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimCardStartExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardStart/excel/template" method:"get" tags:"自主复机" summary:"下载批量自主复机Excel模板" x-check-permission:"cpm:iot:tSimCardStart:excel:template"`
|
||||
}
|
||||
|
||||
type TSimCardStartExcelTemplateRes struct{}
|
||||
|
||||
type TSimCardStartExcelSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardStart/excel/submit" method:"post" tags:"自主复机" summary:"提交Excel批量自主复机" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardStart:excel:submit"`
|
||||
model.TSimCardStartExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardStartExcelSubmitRes struct {
|
||||
*model.TSimCardStartExcelSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardStartInputSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardStart/input/submit" method:"post" tags:"自主复机" summary:"提交批量输入自主复机" x-check-permission:"cpm:iot:tSimCardStart:input:submit"`
|
||||
model.TSimCardStartInputSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardStartInputSubmitRes struct {
|
||||
*model.TSimCardStartInputSubmitRes
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
// Package tsimcardstock
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <li@xiujie.cn>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package v1 //tsimcardstock
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// ListReq 查询库存卡信息表列表
|
||||
type TSimCardStockListReq struct {
|
||||
g.Meta `path:"/tSimCardStock/list" method:"get" tags:"库存卡信息表" summary:"获取库存卡信息表列表" x-check-permission:"cpm:iot:tSimCardStock:list"`
|
||||
model.TSimCardStockListParam
|
||||
}
|
||||
|
||||
type TSimCardStockListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimCardStockListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出库存卡信息表列表
|
||||
type TSimCardStockExportReq struct {
|
||||
g.Meta `path:"/tSimCardStock/export" method:"post" tags:"库存卡信息表" summary:"导出库存卡信息表列表" x-check-permission:"cpm:iot:tSimCardStock:export"`
|
||||
model.TSimCardStockListParam
|
||||
}
|
||||
|
||||
type TSimCardStockExportRes struct{}
|
||||
|
||||
// ViewReq 获取库存卡信息表指定信息
|
||||
type TSimCardStockViewReq struct {
|
||||
g.Meta `path:"/tSimCardStock/view" method:"get" tags:"库存卡信息表" summary:"获取库存卡信息表指定信息" x-check-permission:"cpm:iot:tSimCardStock:view"`
|
||||
model.TSimCardStockViewParam
|
||||
}
|
||||
|
||||
type TSimCardStockViewRes struct {
|
||||
*model.TSimCardStockViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增库存卡信息表
|
||||
type TSimCardStockEditReq struct {
|
||||
g.Meta `path:"/tSimCardStock/edit" method:"post" tags:"库存卡信息表" summary:"修改/新增库存卡信息表" x-check-permission:"cpm:iot:tSimCardStock:edit"`
|
||||
model.TSimCardStockEditParam
|
||||
}
|
||||
|
||||
type TSimCardStockEditRes struct{}
|
||||
|
||||
// DeleteReq 删除库存卡信息表
|
||||
type TSimCardStockDeleteReq struct {
|
||||
g.Meta `path:"/tSimCardStock/delete" method:"post" tags:"库存卡信息表" summary:"删除库存卡信息表" x-check-permission:"cpm:iot:tSimCardStock:delete"`
|
||||
model.TSimCardStockDeleteParam
|
||||
}
|
||||
|
||||
type TSimCardStockDeleteRes struct{}
|
||||
@@ -0,0 +1,31 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimCardStopExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardStop/excel/template" method:"get" tags:"自主停机" summary:"下载批量自主停机Excel模板" x-check-permission:"cpm:iot:tSimCardStop:excel:template"`
|
||||
}
|
||||
|
||||
type TSimCardStopExcelTemplateRes struct{}
|
||||
|
||||
type TSimCardStopExcelSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardStop/excel/submit" method:"post" tags:"自主停机" summary:"提交Excel批量自主停机" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardStop:excel:submit"`
|
||||
model.TSimCardStopExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardStopExcelSubmitRes struct {
|
||||
*model.TSimCardStopExcelSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardStopInputSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardStop/input/submit" method:"post" tags:"自主停机" summary:"提交批量输入自主停机" x-check-permission:"cpm:iot:tSimCardStop:input:submit"`
|
||||
model.TSimCardStopInputSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardStopInputSubmitRes struct {
|
||||
*model.TSimCardStopInputSubmitRes
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimCardTrafficCutoffExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardTrafficCutoff/excel/template" method:"get" tags:"达量断网配置" summary:"下载达量断网配置Excel模板" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:excel:template"`
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffExcelTemplateRes struct{}
|
||||
|
||||
type TSimCardTrafficCutoffExcelSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardTrafficCutoff/excel/submit" method:"post" tags:"达量断网配置" summary:"提交Excel批量达量断网配置" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:excel:submit"`
|
||||
model.TSimCardTrafficCutoffExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffExcelSubmitRes struct {
|
||||
*model.TSimCardTrafficCutoffExcelSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffInputSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardTrafficCutoff/input/submit" method:"post" tags:"达量断网配置" summary:"提交批量输入达量断网配置" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:input:submit"`
|
||||
model.TSimCardTrafficCutoffInputSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffInputSubmitRes struct {
|
||||
*model.TSimCardTrafficCutoffInputSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffRangeSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardTrafficCutoff/range/submit" method:"post" tags:"达量断网配置" summary:"提交连号达量断网配置" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:range:submit"`
|
||||
model.TSimCardTrafficCutoffRangeSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffRangeSubmitRes struct {
|
||||
*model.TSimCardTrafficCutoffRangeSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffListReq struct {
|
||||
g.Meta `path:"/tSimCardTrafficCutoff/list" method:"get" tags:"达量断网卡信息" summary:"查询达量断网卡信息" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:list"`
|
||||
model.TSimCardTrafficCutoffListParam
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimCardInfoListModel `json:"items"`
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffExportReq struct {
|
||||
g.Meta `path:"/tSimCardTrafficCutoff/export" method:"post" tags:"达量断网卡信息" summary:"导出达量断网卡信息" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:export"`
|
||||
model.TSimCardTrafficCutoffListParam
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffExportRes struct{}
|
||||
|
||||
type TSimCardTrafficCutoffEditReq struct {
|
||||
g.Meta `path:"/tSimCardTrafficCutoff/edit" method:"post" tags:"达量断网卡信息" summary:"修改达量断网配置" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:edit"`
|
||||
model.TSimCardTrafficCutoffEditParam
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffEditRes struct{}
|
||||
|
||||
type TSimCardTrafficCutoffDeleteReq struct {
|
||||
g.Meta `path:"/tSimCardTrafficCutoff/delete" method:"post" tags:"达量断网卡信息" summary:"删除达量断网配置" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:delete"`
|
||||
model.TSimCardTrafficCutoffDeleteParam
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffDeleteRes struct{}
|
||||
@@ -0,0 +1,40 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimCardUnsubExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardUnsub/excel/template" method:"get" tags:"卡退订" summary:"下载Excel卡退订模板" x-check-permission:"cpm:iot:tSimCardUnsub:excel:template"`
|
||||
}
|
||||
|
||||
type TSimCardUnsubExcelTemplateRes struct{}
|
||||
|
||||
type TSimCardUnsubExcelSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardUnsub/excel/submit" method:"post" tags:"卡退订" summary:"提交Excel卡退订" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardUnsub:excel:submit"`
|
||||
model.TSimCardUnsubExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardUnsubExcelSubmitRes struct {
|
||||
*model.TSimCardUnsubExcelSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardUnsubInputSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardUnsub/input/submit" method:"post" tags:"卡退订" summary:"提交批量输入卡退订" x-check-permission:"cpm:iot:tSimCardUnsub:input:submit"`
|
||||
model.TSimCardUnsubInputSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardUnsubInputSubmitRes struct {
|
||||
*model.TSimCardUnsubInputSubmitRes
|
||||
}
|
||||
|
||||
type TSimCardUnsubRangeSubmitReq struct {
|
||||
g.Meta `path:"/tSimCardUnsub/range/submit" method:"post" tags:"卡退订" summary:"提交连号卡退订" x-check-permission:"cpm:iot:tSimCardUnsub:range:submit"`
|
||||
model.TSimCardUnsubRangeSubmitParam
|
||||
}
|
||||
|
||||
type TSimCardUnsubRangeSubmitRes struct {
|
||||
*model.TSimCardUnsubRangeSubmitRes
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
// Package tsimchannels
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <li@xiujie.cn>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package v1 //tsimchannels
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// ListReq 查询通道列表列表
|
||||
type TSimChannelsListReq struct {
|
||||
g.Meta `path:"/tSimChannels/list" method:"get" tags:"通道管理" summary:"获取通道管理列表" x-check-permission:"cpm:iot:tSimChannels:list"`
|
||||
model.TSimChannelsListParam
|
||||
}
|
||||
|
||||
type TSimChannelsListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimChannelsListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出通道列表列表
|
||||
type TSimChannelsExportReq struct {
|
||||
g.Meta `path:"/tSimChannels/export" method:"post" tags:"通道管理" summary:"导出通道管理列表" x-check-permission:"cpm:iot:tSimChannels:export"`
|
||||
model.TSimChannelsListParam
|
||||
}
|
||||
|
||||
type TSimChannelsExportRes struct{}
|
||||
|
||||
// ViewReq 获取通道列表指定信息
|
||||
type TSimChannelsViewReq struct {
|
||||
g.Meta `path:"/tSimChannels/view" method:"get" tags:"通道管理" summary:"获取通道管理指定信息" x-check-permission:"cpm:iot:tSimChannels:view"`
|
||||
model.TSimChannelsViewParam
|
||||
}
|
||||
|
||||
type TSimChannelsViewRes struct {
|
||||
*model.TSimChannelsViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增通道列表
|
||||
type TSimChannelsEditReq struct {
|
||||
g.Meta `path:"/tSimChannels/edit" method:"post" tags:"通道管理" summary:"修改/新增通道管理" x-check-permission:"cpm:iot:tSimChannels:edit"`
|
||||
model.TSimChannelsEditParam
|
||||
}
|
||||
|
||||
type TSimChannelsEditRes struct{}
|
||||
|
||||
// DeleteReq 删除通道列表
|
||||
type TSimChannelsDeleteReq struct {
|
||||
g.Meta `path:"/tSimChannels/delete" method:"post" tags:"通道管理" summary:"删除通道管理" x-check-permission:"cpm:iot:tSimChannels:delete"`
|
||||
model.TSimChannelsDeleteParam
|
||||
}
|
||||
|
||||
type TSimChannelsDeleteRes struct{}
|
||||
|
||||
type TSimChannelsTestReq struct {
|
||||
g.Meta `path:"/tSimChannels/test" method:"post" tags:"通道管理" summary:"测试通道查询接口" x-check-permission:"cpm:iot:tSimChannels:test"`
|
||||
model.TSimChannelsTestParam
|
||||
}
|
||||
|
||||
type TSimChannelsTestRes struct {
|
||||
*model.TSimChannelsTestOutput
|
||||
}
|
||||
|
||||
type TSimChannelsRefreshCardCountReq struct {
|
||||
g.Meta `path:"/tSimChannels/refresh-card-count" method:"post" tags:"通道管理" summary:"刷新通道卡数量" x-check-permission:"cpm:iot:tSimChannels:list"`
|
||||
}
|
||||
|
||||
type TSimChannelsRefreshCardCountRes struct{}
|
||||
@@ -0,0 +1,59 @@
|
||||
// Package tsimchanneltemplate
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <li@xiujie.cn>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package v1 //tsimchanneltemplate
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// ListReq 查询通道模板列表
|
||||
type TSimChannelTemplateListReq struct {
|
||||
g.Meta `path:"/tSimChannelTemplate/list" method:"get" tags:"通道模板" summary:"获取通道模板列表" x-check-permission:"cpm:iot:tSimChannelTemplate:list"`
|
||||
model.TSimChannelTemplateListParam
|
||||
}
|
||||
|
||||
type TSimChannelTemplateListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimChannelTemplateListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出通道模板列表
|
||||
type TSimChannelTemplateExportReq struct {
|
||||
g.Meta `path:"/tSimChannelTemplate/export" method:"post" tags:"通道模板" summary:"导出通道模板列表" x-check-permission:"cpm:iot:tSimChannelTemplate:export"`
|
||||
model.TSimChannelTemplateListParam
|
||||
}
|
||||
|
||||
type TSimChannelTemplateExportRes struct{}
|
||||
|
||||
// ViewReq 获取通道模板指定信息
|
||||
type TSimChannelTemplateViewReq struct {
|
||||
g.Meta `path:"/tSimChannelTemplate/view" method:"get" tags:"通道模板" summary:"获取通道模板指定信息" x-check-permission:"cpm:iot:tSimChannelTemplate:view"`
|
||||
model.TSimChannelTemplateViewParam
|
||||
}
|
||||
|
||||
type TSimChannelTemplateViewRes struct {
|
||||
*model.TSimChannelTemplateViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增通道模板
|
||||
type TSimChannelTemplateEditReq struct {
|
||||
g.Meta `path:"/tSimChannelTemplate/edit" method:"post" tags:"通道模板" summary:"修改/新增通道模板" x-check-permission:"cpm:iot:tSimChannelTemplate:edit"`
|
||||
model.TSimChannelTemplateEditParam
|
||||
}
|
||||
|
||||
type TSimChannelTemplateEditRes struct{}
|
||||
|
||||
// DeleteReq 删除通道模板
|
||||
type TSimChannelTemplateDeleteReq struct {
|
||||
g.Meta `path:"/tSimChannelTemplate/delete" method:"post" tags:"通道模板" summary:"删除通道模板" x-check-permission:"cpm:iot:tSimChannelTemplate:delete"`
|
||||
model.TSimChannelTemplateDeleteParam
|
||||
}
|
||||
|
||||
type TSimChannelTemplateDeleteRes struct{}
|
||||
@@ -0,0 +1,33 @@
|
||||
// Package tsimdiagnose
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <li@xiujie.cn>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package v1 //tsimdiagnose
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// InfoReq 查询SIM卡诊断信息
|
||||
type TSimDiagnoseInfoReq struct {
|
||||
g.Meta `path:"/tSimdiagnose/info" method:"post" tags:"SIM卡诊断" summary:"查询SIM卡基本信息、会话信息、套餐信息" x-check-permission:"cpm:iot:tSimdiagnose:info"`
|
||||
model.TSimDiagnoseInfoReq
|
||||
}
|
||||
|
||||
type TSimDiagnoseInfoRes struct {
|
||||
*model.TSimDiagnoseInfoOutput
|
||||
}
|
||||
|
||||
// FlowReq 查询SIM卡使用流量
|
||||
type TSimDiagnoseFlowReq struct {
|
||||
g.Meta `path:"/tSimdiagnose/flow" method:"post" tags:"SIM卡诊断" summary:"查询SIM卡使用流量" x-check-permission:"cpm:iot:tSimdiagnose:flow"`
|
||||
model.TSimDiagnoseFlowReq
|
||||
}
|
||||
|
||||
type TSimDiagnoseFlowRes struct {
|
||||
*model.TSimDiagnoseFlowOutput
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
// Package tsimflowpackageinfo
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <li@xiujie.cn>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package v1 //tsimflowpackageinfo
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// ListReq 查询SIM流量套餐管理列表
|
||||
type TSimFlowPackageInfoListReq struct {
|
||||
g.Meta `path:"/tSimFlowPackageInfo/list" method:"get" tags:"SIM流量套餐管理" summary:"获取SIM流量套餐管理列表" x-check-permission:"cpm:iot:tSimFlowPackageInfo:list"`
|
||||
model.TSimFlowPackageInfoListParam
|
||||
}
|
||||
|
||||
type TSimFlowPackageInfoListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimFlowPackageInfoListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出SIM流量套餐管理列表
|
||||
type TSimFlowPackageInfoExportReq struct {
|
||||
g.Meta `path:"/tSimFlowPackageInfo/export" method:"post" tags:"SIM流量套餐管理" summary:"导出SIM流量套餐管理列表" x-check-permission:"cpm:iot:tSimFlowPackageInfo:export"`
|
||||
model.TSimFlowPackageInfoListParam
|
||||
}
|
||||
|
||||
type TSimFlowPackageInfoExportRes struct{}
|
||||
|
||||
// ViewReq 获取SIM流量套餐管理指定信息
|
||||
type TSimFlowPackageInfoViewReq struct {
|
||||
g.Meta `path:"/tSimFlowPackageInfo/view" method:"get" tags:"SIM流量套餐管理" summary:"获取SIM流量套餐管理指定信息" x-check-permission:"cpm:iot:tSimFlowPackageInfo:view"`
|
||||
model.TSimFlowPackageInfoViewParam
|
||||
}
|
||||
|
||||
type TSimFlowPackageInfoViewRes struct {
|
||||
*model.TSimFlowPackageInfoViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增SIM流量套餐管理
|
||||
type TSimFlowPackageInfoEditReq struct {
|
||||
g.Meta `path:"/tSimFlowPackageInfo/edit" method:"post" tags:"SIM流量套餐管理" summary:"修改/新增SIM流量套餐管理" x-check-permission:"cpm:iot:tSimFlowPackageInfo:edit"`
|
||||
model.TSimFlowPackageInfoEditParam
|
||||
}
|
||||
|
||||
type TSimFlowPackageInfoEditRes struct{}
|
||||
|
||||
// DeleteReq 删除SIM流量套餐管理
|
||||
type TSimFlowPackageInfoDeleteReq struct {
|
||||
g.Meta `path:"/tSimFlowPackageInfo/delete" method:"post" tags:"SIM流量套餐管理" summary:"删除SIM流量套餐管理" x-check-permission:"cpm:iot:tSimFlowPackageInfo:delete"`
|
||||
model.TSimFlowPackageInfoDeleteParam
|
||||
}
|
||||
|
||||
type TSimFlowPackageInfoDeleteRes struct{}
|
||||
|
||||
type TSimFlowPackageInfoSyncDeptPackagesReq struct {
|
||||
g.Meta `path:"/tSimFlowPackageInfo/syncDeptPackages" method:"post" tags:"SIM流量套餐管理" summary:"同步当前部门套餐关联" x-check-permission:"cpm:iot:tSimFlowPackageInfo:list"`
|
||||
}
|
||||
|
||||
type TSimFlowPackageInfoSyncDeptPackagesRes struct{}
|
||||
|
||||
// FlowPackageListReq 可配置池列表
|
||||
type TSimFlowPackageInfoFlowPackageListReq struct {
|
||||
g.Meta `path:"/tSimFlowPackageInfo/flowPackageList" method:"get" tags:"SIM流量套餐管理" summary:"可配置池套餐列表" x-check-permission:"cpm:iot:tSimFlowPackageInfo:list"`
|
||||
model.TSimFlowPackageInfoFlowPackageListParam
|
||||
}
|
||||
|
||||
type TSimFlowPackageInfoFlowPackageListRes struct {
|
||||
Items []*model.TSimFlowPackageInfoListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// FlowPackageAddListReq 可配置池加油包列表
|
||||
type TSimFlowPackageInfoFlowPackageAddListReq struct {
|
||||
g.Meta `path:"/tSimFlowPackageInfo/flowPackageAddList" method:"get" tags:"SIM流量套餐管理" summary:"可配置池加油包列表" x-check-permission:"cpm:iot:tSimFlowPackageInfo:list"`
|
||||
}
|
||||
|
||||
type TSimFlowPackageInfoFlowPackageAddListRes struct {
|
||||
Items []*model.TSimFlowPackageInfoListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// GetFlowPackageOptionsReq 获取流量套餐GB+MB组合选项
|
||||
type TSimFlowPackageInfoGetFlowPackageOptionsReq struct {
|
||||
g.Meta `path:"/tSimFlowPackageInfo/getFlowPackageOptions" method:"get" tags:"SIM流量套餐管理" summary:"获取流量套餐GB+MB组合选项" x-check-permission:"cpm:iot:tSimFlowPackageInfo:list"`
|
||||
model.TSimFlowPackageInfoFlowPackageOptionsParam
|
||||
}
|
||||
|
||||
type TSimFlowPackageInfoGetFlowPackageOptionsRes struct {
|
||||
Items []string `json:"items" dc:"GB+MB组合列表,格式:['1,2','1,3']"`
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimFlowPackageInfoRenewablePackageOptionsReq struct {
|
||||
g.Meta `path:"/tSimFlowPackageInfo/renewablePackageOptions" method:"get" tags:"SIM流量套餐管理" summary:"获取可续费套餐候选列表" x-check-permission:"cpm:iot:tSimFlowPackageInfo:list"`
|
||||
model.TSimFlowPackageInfoRenewablePackageOptionsParam
|
||||
}
|
||||
|
||||
type TSimFlowPackageInfoRenewablePackageOptionsRes struct {
|
||||
Items []*model.TSimFlowPackageInfoListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
// Package tsimflowpackageprice
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <li@xiujie.cn>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package v1 //tsimflowpackageprice
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimFlowPackagePriceagentTreeReq struct {
|
||||
g.Meta `path:"/tSimFlowPackagePrice/agentTree" method:"get" tags:"SIM流量套餐定价" summary:"获取渠道代理树形结构" x-check-permission:"cpm:iot:tSimFlowPackagePrice:agentTree"`
|
||||
model.TSimFlowPackagePriceAgentTreeParam
|
||||
}
|
||||
|
||||
type TSimFlowPackagePriceagentTreeRes struct {
|
||||
Items []*model.SysDeptTreeModel `json:"items" dc:"代理/公司树"`
|
||||
}
|
||||
|
||||
type TSimFlowPackagePriceAgentPackagePriceListReq struct {
|
||||
g.Meta `path:"/tSimFlowPackagePrice/agentPackagePrice/list" method:"get" tags:"SIM流量套餐定价" summary:"查询指定下级代理套餐生效定价" x-check-permission:"cpm:iot:tSimFlowPackagePrice:agentPackagePrice:list"`
|
||||
model.TSimFlowPackagePriceAgentPackagePriceListParam
|
||||
}
|
||||
|
||||
type TSimFlowPackagePriceAgentPackagePriceListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimFlowPackagePriceAgentPackagePriceListItem `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
type TSimFlowPackagePriceAgentPackagePriceSaveReq struct {
|
||||
g.Meta `path:"/tSimFlowPackagePrice/agentPackagePrice/save" method:"post" tags:"SIM流量套餐定价" summary:"保存下级代理专属套餐定价" x-check-permission:"cpm:iot:tSimFlowPackagePrice:agentPackagePrice:edit"`
|
||||
model.TSimFlowPackagePriceAgentPackagePriceSaveParam
|
||||
}
|
||||
|
||||
type TSimFlowPackagePriceAgentPackagePriceSaveRes struct{}
|
||||
|
||||
type TSimFlowPackagePriceAgentPackagePriceInheritReq struct {
|
||||
g.Meta `path:"/tSimFlowPackagePrice/agentPackagePrice/inherit" method:"post" tags:"SIM流量套餐定价" summary:"承袭下级代理上级套餐定价" x-check-permission:"cpm:iot:tSimFlowPackagePrice:agentPackagePrice:edit"`
|
||||
model.TSimFlowPackagePriceAgentPackagePriceInheritParam
|
||||
}
|
||||
|
||||
type TSimFlowPackagePriceAgentPackagePriceInheritRes struct{}
|
||||
|
||||
type TSimFlowPackagePriceAgentDefaultPackagePriceListReq struct {
|
||||
g.Meta `path:"/tSimFlowPackagePrice/agentDefaultPackagePrice/list" method:"get" tags:"SIM流量套餐定价" summary:"查询本级默认套餐定价" x-check-permission:"cpm:iot:tSimFlowPackagePrice:agentDefaultPackagePrice:list"`
|
||||
model.TSimFlowPackagePriceAgentDefaultPackagePriceListParam
|
||||
}
|
||||
|
||||
type TSimFlowPackagePriceAgentDefaultPackagePriceListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimFlowPackagePriceAgentDefaultPackagePriceListItem `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
type TSimFlowPackagePriceAgentDefaultPackagePriceSaveReq struct {
|
||||
g.Meta `path:"/tSimFlowPackagePrice/agentDefaultPackagePrice/save" method:"post" tags:"SIM流量套餐定价" summary:"保存本级默认套餐定价" x-check-permission:"cpm:iot:tSimFlowPackagePrice:agentDefaultPackagePrice:edit"`
|
||||
model.TSimFlowPackagePriceAgentDefaultPackagePriceSaveParam
|
||||
}
|
||||
|
||||
type TSimFlowPackagePriceAgentDefaultPackagePriceSaveRes struct{}
|
||||
|
||||
type TSimFlowPackagePriceAgentDefaultPackagePriceInheritReq struct {
|
||||
g.Meta `path:"/tSimFlowPackagePrice/agentDefaultPackagePrice/inherit" method:"post" tags:"SIM流量套餐定价" summary:"承袭上级套餐定价" x-check-permission:"cpm:iot:tSimFlowPackagePrice:agentDefaultPackagePrice:edit"`
|
||||
model.TSimFlowPackagePriceAgentDefaultPackagePriceInheritParam
|
||||
}
|
||||
|
||||
type TSimFlowPackagePriceAgentDefaultPackagePriceInheritRes struct{}
|
||||
@@ -0,0 +1,78 @@
|
||||
// Package tsimflowpool
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <li@xiujie.cn>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package v1 //tsimflowpool
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// ListReq 查询流量池表列表
|
||||
type TSimFlowPoolListReq struct {
|
||||
g.Meta `path:"/tSimFlowPool/list" method:"get" tags:"流量池表" summary:"获取流量池表列表" x-check-permission:"cpm:iot:tSimFlowPool:list"`
|
||||
model.TSimFlowPoolListParam
|
||||
}
|
||||
|
||||
type TSimFlowPoolListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimFlowPoolListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出流量池表列表
|
||||
type TSimFlowPoolExportReq struct {
|
||||
g.Meta `path:"/tSimFlowPool/export" method:"post" tags:"流量池表" summary:"导出流量池表列表" x-check-permission:"cpm:iot:tSimFlowPool:export"`
|
||||
model.TSimFlowPoolListParam
|
||||
}
|
||||
|
||||
type TSimFlowPoolExportRes struct{}
|
||||
|
||||
// ViewReq 获取流量池表指定信息
|
||||
type TSimFlowPoolViewReq struct {
|
||||
g.Meta `path:"/tSimFlowPool/view" method:"get" tags:"流量池表" summary:"获取流量池表指定信息" x-check-permission:"cpm:iot:tSimFlowPool:view"`
|
||||
model.TSimFlowPoolViewParam
|
||||
}
|
||||
|
||||
type TSimFlowPoolViewRes struct {
|
||||
*model.TSimFlowPoolViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增流量池表
|
||||
type TSimFlowPoolEditReq struct {
|
||||
g.Meta `path:"/tSimFlowPool/edit" method:"post" tags:"流量池表" summary:"修改/新增流量池表" x-check-permission:"cpm:iot:tSimFlowPool:edit"`
|
||||
model.TSimFlowPoolEditParam
|
||||
}
|
||||
|
||||
type TSimFlowPoolEditRes struct{}
|
||||
|
||||
// DeleteReq 删除流量池表
|
||||
type TSimFlowPoolDeleteReq struct {
|
||||
g.Meta `path:"/tSimFlowPool/delete" method:"post" tags:"流量池表" summary:"删除流量池表" x-check-permission:"cpm:iot:tSimFlowPool:delete"`
|
||||
model.TSimFlowPoolDeleteParam
|
||||
}
|
||||
|
||||
type TSimFlowPoolDeleteRes struct{}
|
||||
|
||||
// SyncPoolCardReq 流量池同步卡信息
|
||||
type TSimFlowPoolSyncPoolCardReq struct {
|
||||
g.Meta `path:"/tSimFlowPool/syncPoolCard" method:"post" tags:"流量池表" summary:"流量池同步卡信息" x-check-permission:"cpm:iot:tSimFlowPool:syncPoolCard"`
|
||||
DeptId int64 `json:"deptId" dc:"客户编号"`
|
||||
}
|
||||
|
||||
type TSimFlowPoolSyncPoolCardRes struct{}
|
||||
|
||||
// GetCardsByPackageCodesReq 根据套餐编码列表获取卡列表
|
||||
type TSimFlowPoolGetCardsByPackageCodesReq struct {
|
||||
g.Meta `path:"/tSimFlowPool/getCardsByPackageCodes" method:"post" tags:"流量池表" summary:"根据流量池表获取卡列表" x-check-permission:"cpm:iot:tSimFlowPool:getCardsByPackageCodes"`
|
||||
model.GetCardsByPackageCodesParam
|
||||
}
|
||||
|
||||
type TSimFlowPoolGetCardsByPackageCodesRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimCardInfoListModel `json:"items" dc:"卡列表"`
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
// Package tsimpackagecategory
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <li@xiujie.cn>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package v1 //tsimpackagecategory
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// ListReq 查询套餐分类表列表
|
||||
type TSimPackageCategoryListReq struct {
|
||||
g.Meta `path:"/tSimPackageCategory/list" method:"get" tags:"套餐分类表" summary:"获取套餐分类表列表" x-check-permission:"cpm:iot:tSimPackageCategory:list"`
|
||||
model.TSimPackageCategoryListParam
|
||||
}
|
||||
|
||||
type TSimPackageCategoryListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimPackageCategoryListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出套餐分类表列表
|
||||
type TSimPackageCategoryExportReq struct {
|
||||
g.Meta `path:"/tSimPackageCategory/export" method:"post" tags:"套餐分类表" summary:"导出套餐分类表列表" x-check-permission:"cpm:iot:tSimPackageCategory:export"`
|
||||
model.TSimPackageCategoryListParam
|
||||
}
|
||||
|
||||
type TSimPackageCategoryExportRes struct{}
|
||||
|
||||
// ViewReq 获取套餐分类表指定信息
|
||||
type TSimPackageCategoryViewReq struct {
|
||||
g.Meta `path:"/tSimPackageCategory/view" method:"get" tags:"套餐分类表" summary:"获取套餐分类表指定信息" x-check-permission:"cpm:iot:tSimPackageCategory:view"`
|
||||
model.TSimPackageCategoryViewParam
|
||||
}
|
||||
|
||||
type TSimPackageCategoryViewRes struct {
|
||||
*model.TSimPackageCategoryViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增套餐分类表
|
||||
type TSimPackageCategoryEditReq struct {
|
||||
g.Meta `path:"/tSimPackageCategory/edit" method:"post" tags:"套餐分类表" summary:"修改/新增套餐分类表" x-check-permission:"cpm:iot:tSimPackageCategory:edit"`
|
||||
model.TSimPackageCategoryEditParam
|
||||
}
|
||||
|
||||
type TSimPackageCategoryEditRes struct{}
|
||||
|
||||
// DeleteReq 删除套餐分类表
|
||||
type TSimPackageCategoryDeleteReq struct {
|
||||
g.Meta `path:"/tSimPackageCategory/delete" method:"post" tags:"套餐分类表" summary:"删除套餐分类表" x-check-permission:"cpm:iot:tSimPackageCategory:delete"`
|
||||
model.TSimPackageCategoryDeleteParam
|
||||
}
|
||||
|
||||
type TSimPackageCategoryDeleteRes struct{}
|
||||
@@ -0,0 +1,116 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimPoolBindPackageListReq struct {
|
||||
g.Meta `path:"/tSimPoolBindPackage/list" method:"get" tags:"卡池加油包订购表" summary:"获取卡池加油包订购表列表" x-check-permission:"cpm:iot:tSimPoolBindPackage:list"`
|
||||
model.TSimPoolBindPackageListParam
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimPoolBindPackageListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageExportReq struct {
|
||||
g.Meta `path:"/tSimPoolBindPackage/export" method:"post" tags:"卡池加油包订购表" summary:"导出卡池加油包订购表列表" x-check-permission:"cpm:iot:tSimPoolBindPackage:export"`
|
||||
model.TSimPoolBindPackageListParam
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageExportRes struct{}
|
||||
|
||||
type TSimPoolBindPackageViewReq struct {
|
||||
g.Meta `path:"/tSimPoolBindPackage/view" method:"get" tags:"卡池加油包订购表" summary:"获取卡池加油包订购表详情" x-check-permission:"cpm:iot:tSimPoolBindPackage:view"`
|
||||
model.TSimPoolBindPackageViewParam
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageViewRes struct {
|
||||
*model.TSimPoolBindPackageViewModel
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageEditReq struct {
|
||||
g.Meta `path:"/tSimPoolBindPackage/edit" method:"post" tags:"卡池加油包订购表" summary:"新增或修改卡池加油包订购表" x-check-permission:"cpm:iot:tSimPoolBindPackage:edit"`
|
||||
model.TSimPoolBindPackageEditParam
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageEditRes struct{}
|
||||
|
||||
type TSimPoolBindPackageDeleteReq struct {
|
||||
g.Meta `path:"/tSimPoolBindPackage/delete" method:"post" tags:"卡池加油包订购表" summary:"删除卡池加油包订购表" x-check-permission:"cpm:iot:tSimPoolBindPackage:delete"`
|
||||
model.TSimPoolBindPackageDeleteParam
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageDeleteRes struct{}
|
||||
|
||||
type TSimPoolBindPackageAddPackageOptionsReq struct {
|
||||
g.Meta `path:"/tSimPoolBindPackage/addPackage/options" method:"post" tags:"加油包" summary:"获取流量池可订购加油包" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
|
||||
model.TSimPoolAddPackageOptionsParam
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageAddPackageOptionsRes struct {
|
||||
*model.TSimAddPackageOptionsRes
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageAddPackagePaymentContextReq struct {
|
||||
g.Meta `path:"/tSimPoolBindPackage/addPackage/payment-context" method:"post" tags:"加油包" summary:"获取流量池加油包支付上下文" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageAddPackagePaymentContextRes struct {
|
||||
*model.TSimAddPackageOptionsRes
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageDownloadExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimPoolBindPackage/addPackage/excel/template" method:"get" tags:"加油包" summary:"下载流量池加油包导入模板" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageDownloadExcelTemplateRes struct{}
|
||||
|
||||
type TSimPoolBindPackageSubmitExcelReq struct {
|
||||
g.Meta `path:"/tSimPoolBindPackage/addPackage/excel/submit" method:"post" tags:"加油包" summary:"提交流量池加油包Excel批次" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
|
||||
model.TSimPoolBindPackageAddPackageExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageSubmitExcelRes struct {
|
||||
*model.TSimPoolBindPackageAddPackageExcelSubmitRes
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageSubmitInputReq struct {
|
||||
g.Meta `path:"/tSimPoolBindPackage/addPackage/input/submit" method:"post" tags:"加油包" summary:"提交流量池加油包手输批次" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
|
||||
model.TSimPoolBindPackageAddPackageInputSubmitParam
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageSubmitInputRes struct {
|
||||
*model.TSimPoolBindPackageAddPackageInputSubmitRes
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageAddPackageInputPrepareReq struct {
|
||||
g.Meta `path:"/tSimPoolBindPackage/addPackage/input/prepare" method:"post" tags:"加油包" summary:"流量池加油包手输预处理" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
|
||||
model.TSimPoolBindPackageAddPackageInputPrepareParam
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageAddPackageInputPrepareRes struct {
|
||||
*model.TSimPoolBindPackageAddPackageInputPrepareRes
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageAddPackagePrepareResultReq struct {
|
||||
g.Meta `path:"/tSimPoolBindPackage/addPackage/prepare/result" method:"get" tags:"加油包" summary:"查询流量池加油包预处理结果" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
|
||||
BatchNo string `json:"batchNo" v:"required#批次号不能为空" in:"query" dc:"批次号"`
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageAddPackagePrepareResultRes struct {
|
||||
*model.TSimPoolBindPackageAddPackagePrepareResultRes
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageAddPackageBatchConfirmReq struct {
|
||||
g.Meta `path:"/tSimPoolBindPackage/addPackage/batch/confirm" method:"post" tags:"加油包" summary:"确认流量池加油包采购批次" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
|
||||
model.TSimPoolBindPackageAddPackageBatchConfirmParam
|
||||
}
|
||||
|
||||
type TSimPoolBindPackageAddPackageBatchConfirmRes struct {
|
||||
*model.TSimPoolBindPackageAddPackageBatchConfirmRes
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
// Package tsimpoolwarnconfig
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <li@xiujie.cn>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package v1 //tsimpoolwarnconfig
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// ListReq 查询流量池预警配置表列表
|
||||
type TSimPoolWarnConfigListReq struct {
|
||||
g.Meta `path:"/tSimPoolWarnConfig/list" method:"get" tags:"流量池预警配置表" summary:"获取流量池预警配置表列表" x-check-permission:"cpm:iot:tSimPoolWarnConfig:list"`
|
||||
model.TSimPoolWarnConfigListParam
|
||||
}
|
||||
|
||||
type TSimPoolWarnConfigListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TSimPoolWarnConfigListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出流量池预警配置表列表
|
||||
type TSimPoolWarnConfigExportReq struct {
|
||||
g.Meta `path:"/tSimPoolWarnConfig/export" method:"post" tags:"流量池预警配置表" summary:"导出流量池预警配置表列表" x-check-permission:"cpm:iot:tSimPoolWarnConfig:export"`
|
||||
model.TSimPoolWarnConfigListParam
|
||||
}
|
||||
|
||||
type TSimPoolWarnConfigExportRes struct{}
|
||||
|
||||
// ViewReq 获取流量池预警配置表指定信息
|
||||
type TSimPoolWarnConfigViewReq struct {
|
||||
g.Meta `path:"/tSimPoolWarnConfig/view" method:"get" tags:"流量池预警配置表" summary:"获取流量池预警配置表指定信息" x-check-permission:"cpm:iot:tSimPoolWarnConfig:view"`
|
||||
model.TSimPoolWarnConfigViewParam
|
||||
}
|
||||
|
||||
type TSimPoolWarnConfigViewRes struct {
|
||||
*model.TSimPoolWarnConfigViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增流量池预警配置表
|
||||
type TSimPoolWarnConfigEditReq struct {
|
||||
g.Meta `path:"/tSimPoolWarnConfig/edit" method:"post" tags:"流量池预警配置表" summary:"修改/新增流量池预警配置表" x-check-permission:"cpm:iot:tSimPoolWarnConfig:edit"`
|
||||
model.TSimPoolWarnConfigEditParam
|
||||
}
|
||||
|
||||
type TSimPoolWarnConfigEditRes struct{}
|
||||
|
||||
// DeleteReq 删除流量池预警配置表
|
||||
type TSimPoolWarnConfigDeleteReq struct {
|
||||
g.Meta `path:"/tSimPoolWarnConfig/delete" method:"post" tags:"流量池预警配置表" summary:"删除流量池预警配置表" x-check-permission:"cpm:iot:tSimPoolWarnConfig:delete"`
|
||||
model.TSimPoolWarnConfigDeleteParam
|
||||
}
|
||||
|
||||
type TSimPoolWarnConfigDeleteRes struct{}
|
||||
@@ -0,0 +1,59 @@
|
||||
// Package tsimupstreampackage
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <li@xiujie.cn>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package v1 //tsimupstreampackage
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// ListReq 查询上游套餐表列表
|
||||
type TSimUpstreamPackageListReq struct {
|
||||
g.Meta `path:"/tSimUpstreamPackage/list" method:"get" tags:"上游套餐表" summary:"获取上游套餐表列表" x-check-permission:"cpm:iot:tSimUpstreamPackage:list"`
|
||||
model.TUpstreamPackageListParam
|
||||
}
|
||||
|
||||
type TSimUpstreamPackageListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TUpstreamPackageListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出上游套餐表列表
|
||||
type TSimUpstreamPackageExportReq struct {
|
||||
g.Meta `path:"/tSimUpstreamPackage/export" method:"post" tags:"上游套餐表" summary:"导出上游套餐表列表" x-check-permission:"cpm:iot:tSimUpstreamPackage:export"`
|
||||
model.TUpstreamPackageListParam
|
||||
}
|
||||
|
||||
type TSimUpstreamPackageExportRes struct{}
|
||||
|
||||
// ViewReq 获取上游套餐表指定信息
|
||||
type TSimUpstreamPackageViewReq struct {
|
||||
g.Meta `path:"/tSimUpstreamPackage/view" method:"get" tags:"上游套餐表" summary:"获取上游套餐表指定信息" x-check-permission:"cpm:iot:tSimUpstreamPackage:view"`
|
||||
model.TUpstreamPackageViewParam
|
||||
}
|
||||
|
||||
type TSimUpstreamPackageViewRes struct {
|
||||
*model.TUpstreamPackageViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增上游套餐表
|
||||
type TSimUpstreamPackageEditReq struct {
|
||||
g.Meta `path:"/tSimUpstreamPackage/edit" method:"post" tags:"上游套餐表" summary:"修改/新增上游套餐表" x-check-permission:"cpm:iot:tSimUpstreamPackage:edit"`
|
||||
model.TUpstreamPackageEditParam
|
||||
}
|
||||
|
||||
type TSimUpstreamPackageEditRes struct{}
|
||||
|
||||
// DeleteReq 删除上游套餐表
|
||||
type TSimUpstreamPackageDeleteReq struct {
|
||||
g.Meta `path:"/tSimUpstreamPackage/delete" method:"post" tags:"上游套餐表" summary:"删除上游套餐表" x-check-permission:"cpm:iot:tSimUpstreamPackage:delete"`
|
||||
model.TUpstreamPackageDeleteParam
|
||||
}
|
||||
|
||||
type TSimUpstreamPackageDeleteRes struct{}
|
||||
@@ -0,0 +1,48 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type TSimWarningConfigExcelTemplateReq struct {
|
||||
g.Meta `path:"/tSimWarningConfig/excel/template" method:"get" tags:"SIM卡预警配置" summary:"下载SIM卡预警配置Excel模板" x-check-permission:"cpm:iot:tSimWarningConfig:excel:template"`
|
||||
ItemType int `json:"itemType" form:"itemType" dc:"对象类型:1单卡,2流量池;默认1"`
|
||||
}
|
||||
|
||||
type TSimWarningConfigExcelTemplateRes struct{}
|
||||
|
||||
type TSimWarningConfigEmailCodeReq struct {
|
||||
g.Meta `path:"/tSimWarningConfig/email/code" method:"post" tags:"SIM卡预警配置" summary:"发送预警邮箱验证码" x-check-permission:"cpm:iot:tSimWarningConfig:input:submit"`
|
||||
model.TSimWarningConfigEmailCodeParam
|
||||
}
|
||||
|
||||
type TSimWarningConfigEmailCodeRes struct{}
|
||||
|
||||
type TSimWarningConfigExcelSubmitReq struct {
|
||||
g.Meta `path:"/tSimWarningConfig/excel/submit" method:"post" tags:"SIM卡预警配置" summary:"提交Excel批量SIM卡预警配置" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimWarningConfig:excel:submit"`
|
||||
model.TSimWarningConfigExcelSubmitParam
|
||||
}
|
||||
|
||||
type TSimWarningConfigExcelSubmitRes struct {
|
||||
*model.TSimWarningConfigExcelSubmitRes
|
||||
}
|
||||
|
||||
type TSimWarningConfigInputSubmitReq struct {
|
||||
g.Meta `path:"/tSimWarningConfig/input/submit" method:"post" tags:"SIM卡预警配置" summary:"提交批量输入SIM卡预警配置" x-check-permission:"cpm:iot:tSimWarningConfig:input:submit"`
|
||||
model.TSimWarningConfigInputSubmitParam
|
||||
}
|
||||
|
||||
type TSimWarningConfigInputSubmitRes struct {
|
||||
*model.TSimWarningConfigInputSubmitRes
|
||||
}
|
||||
|
||||
type TSimWarningConfigRangeSubmitReq struct {
|
||||
g.Meta `path:"/tSimWarningConfig/range/submit" method:"post" tags:"SIM卡预警配置" summary:"提交连号SIM卡预警配置" x-check-permission:"cpm:iot:tSimWarningConfig:range:submit"`
|
||||
model.TSimWarningConfigRangeSubmitParam
|
||||
}
|
||||
|
||||
type TSimWarningConfigRangeSubmitRes struct {
|
||||
*model.TSimWarningConfigRangeSubmitRes
|
||||
}
|
||||
Reference in New Issue
Block a user