chore: 并入 iotlcm-admin-svr 历史到 admin-svr/(原提交 49818c6)

This commit is contained in:
MiFaZhan
2026-11-02 13:27:59 +08:00
1250 changed files with 154111 additions and 0 deletions
+126
View File
@@ -0,0 +1,126 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package common
import (
"context"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/api/common/v1"
)
type ICommonV1 interface {
BatchExecutionLogList(ctx context.Context, req *v1.BatchExecutionLogListReq) (res *v1.BatchExecutionLogListRes, err error)
BatchExecutionLogSummary(ctx context.Context, req *v1.BatchExecutionLogSummaryReq) (res *v1.BatchExecutionLogSummaryRes, err error)
BatchExecutionLogDetailList(ctx context.Context, req *v1.BatchExecutionLogDetailListReq) (res *v1.BatchExecutionLogDetailListRes, err error)
BatchMainList(ctx context.Context, req *v1.BatchMainListReq) (res *v1.BatchMainListRes, err error)
BatchMainSuccessList(ctx context.Context, req *v1.BatchMainSuccessListReq) (res *v1.BatchMainSuccessListRes, err error)
BatchMainExportWarehousing(ctx context.Context, req *v1.BatchMainExportWarehousingReq) (res *v1.BatchMainExportWarehousingRes, err error)
BatchMainCards(ctx context.Context, req *v1.BatchMainCardsReq) (res *v1.BatchMainCardsRes, err error)
BatchMainExport(ctx context.Context, req *v1.BatchMainExportReq) (res *v1.BatchMainExportRes, err error)
BatchMainView(ctx context.Context, req *v1.BatchMainViewReq) (res *v1.BatchMainViewRes, err error)
BatchMainEdit(ctx context.Context, req *v1.BatchMainEditReq) (res *v1.BatchMainEditRes, err error)
BatchMainDelete(ctx context.Context, req *v1.BatchMainDeleteReq) (res *v1.BatchMainDeleteRes, err error)
BatchMainRequeue(ctx context.Context, req *v1.BatchMainRequeueReq) (res *v1.BatchMainRequeueRes, err error)
TAgentBalanceList(ctx context.Context, req *v1.TAgentBalanceListReq) (res *v1.TAgentBalanceListRes, err error)
TAgentBalanceExport(ctx context.Context, req *v1.TAgentBalanceExportReq) (res *v1.TAgentBalanceExportRes, err error)
TAgentBalanceView(ctx context.Context, req *v1.TAgentBalanceViewReq) (res *v1.TAgentBalanceViewRes, err error)
TAgentBalanceEdit(ctx context.Context, req *v1.TAgentBalanceEditReq) (res *v1.TAgentBalanceEditRes, err error)
TAgentBalanceDelete(ctx context.Context, req *v1.TAgentBalanceDeleteReq) (res *v1.TAgentBalanceDeleteRes, err error)
TAgentBalanceStatus(ctx context.Context, req *v1.TAgentBalanceStatusReq) (res *v1.TAgentBalanceStatusRes, err error)
TAgentBalanceAccountTrend(ctx context.Context, req *v1.TAgentBalanceAccountTrendReq) (res *v1.TAgentBalanceAccountTrendRes, err error)
TAgentBalanceGetAccountBalance(ctx context.Context, req *v1.TAgentBalanceGetAccountBalanceReq) (res *v1.TAgentBalanceGetAccountBalanceRes, err error)
TAgentBalanceBalanceTransferApply(ctx context.Context, req *v1.TAgentBalanceBalanceTransferApplyReq) (res *v1.TAgentBalanceBalanceTransferApplyRes, err error)
TAgentBalanceBalanceTransferAudit(ctx context.Context, req *v1.TAgentBalanceBalanceTransferAuditReq) (res *v1.TAgentBalanceBalanceTransferAuditRes, err error)
TAgentBalanceSettleCommission(ctx context.Context, req *v1.TAgentBalanceSettleCommissionReq) (res *v1.TAgentBalanceSettleCommissionRes, err error)
TBalanceDetailList(ctx context.Context, req *v1.TBalanceDetailListReq) (res *v1.TBalanceDetailListRes, err error)
TBalanceDetailExport(ctx context.Context, req *v1.TBalanceDetailExportReq) (res *v1.TBalanceDetailExportRes, err error)
TBalanceDetailView(ctx context.Context, req *v1.TBalanceDetailViewReq) (res *v1.TBalanceDetailViewRes, err error)
TBalanceDetailEdit(ctx context.Context, req *v1.TBalanceDetailEditReq) (res *v1.TBalanceDetailEditRes, err error)
TBalanceDetailDelete(ctx context.Context, req *v1.TBalanceDetailDeleteReq) (res *v1.TBalanceDetailDeleteRes, err error)
TConsumeAccountMonthBillList(ctx context.Context, req *v1.TConsumeAccountMonthBillListReq) (res *v1.TConsumeAccountMonthBillListRes, err error)
TConsumeAccountMonthBillExport(ctx context.Context, req *v1.TConsumeAccountMonthBillExportReq) (res *v1.TConsumeAccountMonthBillExportRes, err error)
TConsumeAccountMonthBillView(ctx context.Context, req *v1.TConsumeAccountMonthBillViewReq) (res *v1.TConsumeAccountMonthBillViewRes, err error)
TConsumeAccountMonthBillEdit(ctx context.Context, req *v1.TConsumeAccountMonthBillEditReq) (res *v1.TConsumeAccountMonthBillEditRes, err error)
TConsumeAccountMonthBillDelete(ctx context.Context, req *v1.TConsumeAccountMonthBillDeleteReq) (res *v1.TConsumeAccountMonthBillDeleteRes, err error)
TConsumeAccountMonthBillSettle(ctx context.Context, req *v1.TConsumeAccountMonthBillSettleReq) (res *v1.TConsumeAccountMonthBillSettleRes, err error)
TConsumeAccountMonthBillGetConsumptionBillSummary(ctx context.Context, req *v1.TConsumeAccountMonthBillGetConsumptionBillSummaryReq) (res *v1.TConsumeAccountMonthBillGetConsumptionBillSummaryRes, err error)
TCreditDetailList(ctx context.Context, req *v1.TCreditDetailListReq) (res *v1.TCreditDetailListRes, err error)
TCreditDetailExport(ctx context.Context, req *v1.TCreditDetailExportReq) (res *v1.TCreditDetailExportRes, err error)
TCreditDetailView(ctx context.Context, req *v1.TCreditDetailViewReq) (res *v1.TCreditDetailViewRes, err error)
TCreditDetailEdit(ctx context.Context, req *v1.TCreditDetailEditReq) (res *v1.TCreditDetailEditRes, err error)
TCreditDetailDelete(ctx context.Context, req *v1.TCreditDetailDeleteReq) (res *v1.TCreditDetailDeleteRes, err error)
TDivisionCodeList(ctx context.Context, req *v1.TDivisionCodeListReq) (res *v1.TDivisionCodeListRes, err error)
TDivisionCodeExport(ctx context.Context, req *v1.TDivisionCodeExportReq) (res *v1.TDivisionCodeExportRes, err error)
TDivisionCodeView(ctx context.Context, req *v1.TDivisionCodeViewReq) (res *v1.TDivisionCodeViewRes, err error)
TDivisionCodeEdit(ctx context.Context, req *v1.TDivisionCodeEditReq) (res *v1.TDivisionCodeEditRes, err error)
TDivisionCodeDelete(ctx context.Context, req *v1.TDivisionCodeDeleteReq) (res *v1.TDivisionCodeDeleteRes, err error)
TFinanceApplyList(ctx context.Context, req *v1.TFinanceApplyListReq) (res *v1.TFinanceApplyListRes, err error)
TFinanceApplyExport(ctx context.Context, req *v1.TFinanceApplyExportReq) (res *v1.TFinanceApplyExportRes, err error)
TFinanceApplyView(ctx context.Context, req *v1.TFinanceApplyViewReq) (res *v1.TFinanceApplyViewRes, err error)
TFinanceApplyEdit(ctx context.Context, req *v1.TFinanceApplyEditReq) (res *v1.TFinanceApplyEditRes, err error)
TFinanceApplyDelete(ctx context.Context, req *v1.TFinanceApplyDeleteReq) (res *v1.TFinanceApplyDeleteRes, err error)
TFinanceAuditRecordList(ctx context.Context, req *v1.TFinanceAuditRecordListReq) (res *v1.TFinanceAuditRecordListRes, err error)
TFinanceAuditRecordExport(ctx context.Context, req *v1.TFinanceAuditRecordExportReq) (res *v1.TFinanceAuditRecordExportRes, err error)
TFinanceAuditRecordView(ctx context.Context, req *v1.TFinanceAuditRecordViewReq) (res *v1.TFinanceAuditRecordViewRes, err error)
TFinanceAuditRecordEdit(ctx context.Context, req *v1.TFinanceAuditRecordEditReq) (res *v1.TFinanceAuditRecordEditRes, err error)
TFinanceAuditRecordDelete(ctx context.Context, req *v1.TFinanceAuditRecordDeleteReq) (res *v1.TFinanceAuditRecordDeleteRes, err error)
TFinCommissionDetailList(ctx context.Context, req *v1.TFinCommissionDetailListReq) (res *v1.TFinCommissionDetailListRes, err error)
TFinCommissionDetailExport(ctx context.Context, req *v1.TFinCommissionDetailExportReq) (res *v1.TFinCommissionDetailExportRes, err error)
TFinCommissionDetailView(ctx context.Context, req *v1.TFinCommissionDetailViewReq) (res *v1.TFinCommissionDetailViewRes, err error)
TFinCommissionDetailEdit(ctx context.Context, req *v1.TFinCommissionDetailEditReq) (res *v1.TFinCommissionDetailEditRes, err error)
TFinCommissionDetailDelete(ctx context.Context, req *v1.TFinCommissionDetailDeleteReq) (res *v1.TFinCommissionDetailDeleteRes, err error)
TFinCommissionDetailGetCommissionOverview(ctx context.Context, req *v1.TFinCommissionDetailGetCommissionOverviewReq) (res *v1.TFinCommissionDetailGetCommissionOverviewRes, err error)
TFinCommissionDetailGetLevelSummary(ctx context.Context, req *v1.TFinCommissionDetailGetLevelSummaryReq) (res *v1.TFinCommissionDetailGetLevelSummaryRes, err error)
TFinWithdrawableChangeList(ctx context.Context, req *v1.TFinWithdrawableChangeListReq) (res *v1.TFinWithdrawableChangeListRes, err error)
TFinWithdrawableChangeExport(ctx context.Context, req *v1.TFinWithdrawableChangeExportReq) (res *v1.TFinWithdrawableChangeExportRes, err error)
TFinWithdrawableChangeView(ctx context.Context, req *v1.TFinWithdrawableChangeViewReq) (res *v1.TFinWithdrawableChangeViewRes, err error)
TFinWithdrawableChangeEdit(ctx context.Context, req *v1.TFinWithdrawableChangeEditReq) (res *v1.TFinWithdrawableChangeEditRes, err error)
TFinWithdrawableChangeDelete(ctx context.Context, req *v1.TFinWithdrawableChangeDeleteReq) (res *v1.TFinWithdrawableChangeDeleteRes, err error)
TMessageLogList(ctx context.Context, req *v1.TMessageLogListReq) (res *v1.TMessageLogListRes, err error)
TMessageLogExport(ctx context.Context, req *v1.TMessageLogExportReq) (res *v1.TMessageLogExportRes, err error)
TMessageLogView(ctx context.Context, req *v1.TMessageLogViewReq) (res *v1.TMessageLogViewRes, err error)
TMessageLogEdit(ctx context.Context, req *v1.TMessageLogEditReq) (res *v1.TMessageLogEditRes, err error)
TMessageLogDelete(ctx context.Context, req *v1.TMessageLogDeleteReq) (res *v1.TMessageLogDeleteRes, err error)
TMessageLogUnreadList(ctx context.Context, req *v1.TMessageLogUnreadListReq) (res *v1.TMessageLogUnreadListRes, err error)
TMessageLogRead(ctx context.Context, req *v1.TMessageLogReadReq) (res *v1.TMessageLogReadRes, err error)
TMessageLogReadAll(ctx context.Context, req *v1.TMessageLogReadAllReq) (res *v1.TMessageLogReadAllRes, err error)
TNotifyLogList(ctx context.Context, req *v1.TNotifyLogListReq) (res *v1.TNotifyLogListRes, err error)
TNotifyLogExport(ctx context.Context, req *v1.TNotifyLogExportReq) (res *v1.TNotifyLogExportRes, err error)
TNotifyLogView(ctx context.Context, req *v1.TNotifyLogViewReq) (res *v1.TNotifyLogViewRes, err error)
TNotifyLogEdit(ctx context.Context, req *v1.TNotifyLogEditReq) (res *v1.TNotifyLogEditRes, err error)
TNotifyLogDelete(ctx context.Context, req *v1.TNotifyLogDeleteReq) (res *v1.TNotifyLogDeleteRes, err error)
TProfitAccountMonthBillList(ctx context.Context, req *v1.TProfitAccountMonthBillListReq) (res *v1.TProfitAccountMonthBillListRes, err error)
TProfitAccountMonthBillExport(ctx context.Context, req *v1.TProfitAccountMonthBillExportReq) (res *v1.TProfitAccountMonthBillExportRes, err error)
TProfitAccountMonthBillView(ctx context.Context, req *v1.TProfitAccountMonthBillViewReq) (res *v1.TProfitAccountMonthBillViewRes, err error)
TProfitAccountMonthBillEdit(ctx context.Context, req *v1.TProfitAccountMonthBillEditReq) (res *v1.TProfitAccountMonthBillEditRes, err error)
TProfitAccountMonthBillDelete(ctx context.Context, req *v1.TProfitAccountMonthBillDeleteReq) (res *v1.TProfitAccountMonthBillDeleteRes, err error)
TProfitAccountMonthBillSettle(ctx context.Context, req *v1.TProfitAccountMonthBillSettleReq) (res *v1.TProfitAccountMonthBillSettleRes, err error)
TProfitAccountMonthBillGetProfitBillSummary(ctx context.Context, req *v1.TProfitAccountMonthBillGetProfitBillSummaryReq) (res *v1.TProfitAccountMonthBillGetProfitBillSummaryRes, err error)
TProfitAccountMonthBillGetCoreFinancialData(ctx context.Context, req *v1.TProfitAccountMonthBillGetCoreFinancialDataReq) (res *v1.TProfitAccountMonthBillGetCoreFinancialDataRes, err error)
TProfitAccountMonthBillGetFinancialTrend(ctx context.Context, req *v1.TProfitAccountMonthBillGetFinancialTrendReq) (res *v1.TProfitAccountMonthBillGetFinancialTrendRes, err error)
TWoCommunicationList(ctx context.Context, req *v1.TWoCommunicationListReq) (res *v1.TWoCommunicationListRes, err error)
TWoCommunicationExport(ctx context.Context, req *v1.TWoCommunicationExportReq) (res *v1.TWoCommunicationExportRes, err error)
TWoCommunicationView(ctx context.Context, req *v1.TWoCommunicationViewReq) (res *v1.TWoCommunicationViewRes, err error)
TWoCommunicationEdit(ctx context.Context, req *v1.TWoCommunicationEditReq) (res *v1.TWoCommunicationEditRes, err error)
TWoCommunicationMessage(ctx context.Context, req *v1.TWoCommunicationMessageReq) (res *v1.TWoCommunicationMessageRes, err error)
TWoCommunicationDelete(ctx context.Context, req *v1.TWoCommunicationDeleteReq) (res *v1.TWoCommunicationDeleteRes, err error)
TWoMainList(ctx context.Context, req *v1.TWoMainListReq) (res *v1.TWoMainListRes, err error)
TWoMainExport(ctx context.Context, req *v1.TWoMainExportReq) (res *v1.TWoMainExportRes, err error)
TWoMainView(ctx context.Context, req *v1.TWoMainViewReq) (res *v1.TWoMainViewRes, err error)
TWoMainEdit(ctx context.Context, req *v1.TWoMainEditReq) (res *v1.TWoMainEditRes, err error)
TWoMainTransfer(ctx context.Context, req *v1.TWoMainTransferReq) (res *v1.TWoMainTransferRes, err error)
TWoMainResolve(ctx context.Context, req *v1.TWoMainResolveReq) (res *v1.TWoMainResolveRes, err error)
TWoMainCancel(ctx context.Context, req *v1.TWoMainCancelReq) (res *v1.TWoMainCancelRes, err error)
TWoMainClose(ctx context.Context, req *v1.TWoMainCloseReq) (res *v1.TWoMainCloseRes, err error)
TWoMainEvaluate(ctx context.Context, req *v1.TWoMainEvaluateReq) (res *v1.TWoMainEvaluateRes, err error)
TWoMainDelete(ctx context.Context, req *v1.TWoMainDeleteReq) (res *v1.TWoMainDeleteRes, err error)
TWoRecordList(ctx context.Context, req *v1.TWoRecordListReq) (res *v1.TWoRecordListRes, err error)
TWoRecordExport(ctx context.Context, req *v1.TWoRecordExportReq) (res *v1.TWoRecordExportRes, err error)
TWoRecordView(ctx context.Context, req *v1.TWoRecordViewReq) (res *v1.TWoRecordViewRes, err error)
TWoRecordEdit(ctx context.Context, req *v1.TWoRecordEditReq) (res *v1.TWoRecordEditRes, err error)
TWoRecordDelete(ctx context.Context, req *v1.TWoRecordDeleteReq) (res *v1.TWoRecordDeleteRes, err error)
SysOssUpload(ctx context.Context, req *v1.SysOssUploadReq) (res *v1.SysOssUploadRes, err error)
SysOssDownload(ctx context.Context, req *v1.SysOssDownloadReq) (res *v1.SysOssDownloadRes, err error)
}
@@ -0,0 +1,46 @@
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 BatchExecutionLogListReq struct {
g.Meta `path:"/batchExecutionLog/list" method:"get" tags:"执行日志" summary:"获取执行日志列表" x-check-permission:"cpm:common:batchExecutionLog:list"`
model.BatchExecutionLogListParam
}
type BatchExecutionLogListRes struct {
response.PageResult
Items []*model.BatchExecutionLogListModel `json:"items" dc:"数据列表"`
}
type BatchExecutionLogSummaryReq struct {
g.Meta `path:"/batchExecutionLog/summary" method:"get" tags:"执行日志" summary:"获取执行日志概要" x-check-permission:"cpm:common:batchExecutionLog:summary"`
model.BatchExecutionLogDetailParam
}
type BatchExecutionLogSummaryRes struct {
*model.BatchExecutionLogDetailModel
}
type BatchExecutionLogDetailListReq struct {
g.Meta `path:"/batchExecutionLog/detailList" method:"get" tags:"执行日志" summary:"获取执行日志明细列表" x-check-permission:"cpm:common:batchExecutionLog:detailList"`
model.BatchDetailListParam
}
type BatchExecutionLogDetailListRes struct {
response.PageResult
Items []*model.BatchDetailListModel `json:"items" dc:"数据列表"`
}
type BatchExecutionLogSyncReviewReq struct {
g.Meta `path:"/batchExecutionLog/syncReview" method:"post" tags:"执行日志" summary:"手动同步待核查批次的上游执行结果" x-check-permission:"cpm:common:batchExecutionLog:syncReview"`
model.BatchExecutionLogSyncReviewParam
}
type BatchExecutionLogSyncReviewRes struct {
*model.BatchExecutionLogSyncReviewModel
}
@@ -0,0 +1,96 @@
// Package batchmain
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //batchmain
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 BatchMainListReq struct {
g.Meta `path:"/batchMain/list" method:"get" tags:"批次主表" summary:"获取批次主表列表" x-check-permission:"cpm:common:batchMain:list"`
model.BatchMainListParam
}
type BatchMainListRes struct {
response.PageResult
Items []*model.BatchMainListModel `json:"items" dc:"数据列表"`
}
type BatchMainSuccessListReq struct {
g.Meta `path:"/batchMain/successList" method:"get" tags:"批次主表" summary:"获取成功批次列表" x-check-permission:"cpm:common:batchMain:successList"`
model.BatchMainSuccessListParam
}
type BatchMainSuccessListRes struct {
response.PageResult
Items []*model.BatchMainSuccessListModel `json:"items" dc:"数据列表"`
}
// ExportWarehousingReq 导出入库批次列表(数据来源同 successList 的入库类型)
type BatchMainExportWarehousingReq struct {
g.Meta `path:"/batchMain/exportWarehousing" method:"post" tags:"批次主表" summary:"导出入库批次列表" x-check-permission:"cpm:iot:tSimCardStock:export"`
model.BatchMainSuccessListParam
}
type BatchMainExportWarehousingRes struct{}
type BatchMainCardsReq struct {
g.Meta `path:"/batchMain/cards" method:"get" tags:"批次主表" summary:"批次卡清单" x-check-permission:"cpm:common:batchMain:cards"`
model.BatchCardListParam
}
type BatchMainCardsRes struct {
response.PageResult
Items []*model.BatchCardListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出批次主表列表
type BatchMainExportReq struct {
g.Meta `path:"/batchMain/export" method:"post" tags:"批次主表" summary:"导出批次主表列表" x-check-permission:"cpm:common:batchMain:export"`
model.BatchMainListParam
}
type BatchMainExportRes struct{}
// ViewReq 获取批次主表指定信息
type BatchMainViewReq struct {
g.Meta `path:"/batchMain/view" method:"get" tags:"批次主表" summary:"获取批次主表指定信息" x-check-permission:"cpm:common:batchMain:view"`
model.BatchMainViewParam
}
type BatchMainViewRes struct {
*model.BatchMainViewModel
}
// EditReq 修改/新增批次主表
type BatchMainEditReq struct {
g.Meta `path:"/batchMain/edit" method:"post" tags:"批次主表" summary:"修改/新增批次主表" x-check-permission:"cpm:common:batchMain:edit"`
model.BatchMainEditParam
}
type BatchMainEditRes struct{}
// DeleteReq 删除批次主表
type BatchMainDeleteReq struct {
g.Meta `path:"/batchMain/delete" method:"post" tags:"批次主表" summary:"删除批次主表" x-check-permission:"cpm:common:batchMain:delete"`
model.BatchMainDeleteParam
}
type BatchMainDeleteRes struct{}
type BatchMainRequeueReq struct {
g.Meta `path:"/batchMain/requeue" method:"post" tags:"批次主表" summary:"安全重投批次执行消息" x-check-permission:"cpm:common:batchMain:requeue"`
model.BatchMainRequeueParam
}
type BatchMainRequeueRes struct {
*model.BatchMainRequeueModel
}
@@ -0,0 +1,45 @@
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"
)
// DownloadCenterListReq 下载中心列表
type DownloadCenterListReq struct {
g.Meta `path:"/downloadCenter/list" method:"get" tags:"下载中心" summary:"获取下载任务列表" x-check-permission:"cpm:common:downloadCenter:list"`
model.DownloadCenterListParam
}
type DownloadCenterListRes struct {
response.PageResult
Items []*model.DownloadCenterListModel `json:"items" dc:"数据列表"`
}
// DownloadCenterRecentReq 右上角全局入口:最近任务与进行中数量
type DownloadCenterRecentReq struct {
g.Meta `path:"/downloadCenter/recent" method:"get" tags:"下载中心" summary:"获取最近导出任务" x-check-permission:"cpm:common:downloadCenter:list"`
model.DownloadCenterRecentParam
}
type DownloadCenterRecentRes struct {
*model.DownloadCenterRecentModel
}
// DownloadCenterDownloadReq 下载导出文件(直接返回文件流)
type DownloadCenterDownloadReq struct {
g.Meta `path:"/downloadCenter/download" method:"get" tags:"下载中心" summary:"下载导出文件" x-check-permission:"cpm:common:downloadCenter:download"`
model.DownloadCenterTaskParam
}
type DownloadCenterDownloadRes struct{}
// DownloadCenterRemoveReq 删除文件并保留导出任务历史
type DownloadCenterRemoveReq struct {
g.Meta `path:"/downloadCenter/remove" method:"post" tags:"下载中心" summary:"删除导出任务" x-check-permission:"cpm:common:downloadCenter:remove"`
model.DownloadCenterTaskParam
}
type DownloadCenterRemoveRes struct{}
@@ -0,0 +1,114 @@
// Package tagentbalance
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tagentbalance
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 TAgentBalanceListReq struct {
g.Meta `path:"/tAgentBalance/list" method:"get" tags:"企业客户财务信息" summary:"获取企业客户财务信息列表" x-check-permission:"cpm:gen:tAgentBalance:list"`
model.TAgentBalanceListParam
}
type TAgentBalanceListRes struct {
response.PageResult
Items []*model.TAgentBalanceListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出企业客户财务信息列表
type TAgentBalanceExportReq struct {
g.Meta `path:"/tAgentBalance/export" method:"post" tags:"企业客户财务信息" summary:"导出企业客户财务信息列表" x-check-permission:"cpm:common:tAgentBalance:export"`
model.TAgentBalanceListParam
}
type TAgentBalanceExportRes struct{}
// ViewReq 获取企业客户财务信息指定信息
type TAgentBalanceViewReq struct {
g.Meta `path:"/tAgentBalance/view" method:"get" tags:"企业客户财务信息" summary:"获取企业客户财务信息指定信息" x-check-permission:"cpm:common:tAgentBalance:view"`
model.TAgentBalanceViewParam
}
type TAgentBalanceViewRes struct {
*model.TAgentBalanceViewModel
}
// EditReq 修改/新增企业客户财务信息
type TAgentBalanceEditReq struct {
g.Meta `path:"/tAgentBalance/edit" method:"post" tags:"企业客户财务信息" summary:"修改/新增企业客户财务信息" x-check-permission:"cpm:common:tAgentBalance:edit"`
model.TAgentBalanceEditParam
}
type TAgentBalanceEditRes struct{}
// DeleteReq 删除企业客户财务信息
type TAgentBalanceDeleteReq struct {
g.Meta `path:"/tAgentBalance/delete" method:"post" tags:"企业客户财务信息" summary:"删除企业客户财务信息" x-check-permission:"cpm:common:tAgentBalance:delete"`
model.TAgentBalanceDeleteParam
}
type TAgentBalanceDeleteRes struct{}
// StatusReq 更新企业客户财务信息状态
type TAgentBalanceStatusReq struct {
g.Meta `path:"/tAgentBalance/status" method:"post" tags:"企业客户财务信息" summary:"更新企业客户财务信息状态" x-check-permission:"cpm:common:tAgentBalance:status"`
model.TAgentBalanceStatusParam
}
type TAgentBalanceStatusRes struct{}
type TAgentBalanceAccountTrendReq struct {
g.Meta `path:"/tAgentBalance/accountTrend" method:"get" tags:"企业客户财务信息" summary:"获取账户总览折线图" x-check-permission:"cpm:common:tAgentBalance:accountTrend"`
model.TAgentBalanceTrendParam
}
type TAgentBalanceAccountTrendRes struct {
*model.TAgentBalanceChartData
}
type TAgentBalanceGetAccountBalanceReq struct {
g.Meta `path:"/tAgentBalance/getAccountBalance" method:"get" tags:"企业客户财务信息" summary:"获取当前登录企业账户余额" x-check-permission:"cpm:common:tAgentBalance:getAccountBalance"`
model.TAgentBalanceTrendParam
}
type TAgentBalanceGetAccountBalanceRes struct {
*model.TAgentBalanceChartData
}
// BalanceTransferApplyReq 发起余额转可提现申请
type TAgentBalanceBalanceTransferApplyReq struct {
g.Meta `path:"/tAgentBalance/balanceTransferApply" method:"post" tags:"企业客户财务信息" summary:"发起余额转可提现申请" x-check-permission:"cpm:common:tAgentBalance:balanceTransferApply"`
model.TAgentBalanceTransferApplyParam
}
type TAgentBalanceBalanceTransferApplyRes struct {
*model.TAgentBalanceTransferApplyModel `json:"data,omitempty"`
}
// BalanceTransferAuditReq 审核余额转可提现申请
type TAgentBalanceBalanceTransferAuditReq struct {
g.Meta `path:"/tAgentBalance/balanceTransferAudit" method:"post" tags:"企业客户财务信息" summary:"审核余额转可提现申请" x-check-permission:"cpm:common:tAgentBalance:balanceTransferAudit"`
model.TAgentBalanceTransferAuditParam
}
type TAgentBalanceBalanceTransferAuditRes struct{}
// TAgentBalanceSettleCommissionReq 按账期区间结算分润
type TAgentBalanceSettleCommissionReq struct {
g.Meta `path:"/tAgentBalance/settleCommission" method:"post" tags:"企业客户财务信息" summary:"按账期区间结算分润" x-check-permission:"cpm:common:tAgentBalance:settleCommission"`
StartPeriod string `json:"startPeriod" v:"required#开始账期不能为空" dc:"开始账期,格式YYYY-MM"`
EndPeriod string `json:"endPeriod" v:"required#结束账期不能为空" dc:"结束账期,格式YYYY-MM"`
}
type TAgentBalanceSettleCommissionRes struct {
*model.TAgentBalanceCommissionSettlementResult
}
@@ -0,0 +1,59 @@
// Package tbalancedetail
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tbalancedetail
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 TBalanceDetailListReq struct {
g.Meta `path:"/tBalanceDetail/list" method:"get" tags:"余额明细表" summary:"获取余额明细表列表" x-check-permission:"cpm:common:tBalanceDetail:list"`
model.TBalanceDetailListParam
}
type TBalanceDetailListRes struct {
response.PageResult
Items []*model.TBalanceDetailListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出余额明细表列表
type TBalanceDetailExportReq struct {
g.Meta `path:"/tBalanceDetail/export" method:"post" tags:"余额明细表" summary:"导出余额明细表列表" x-check-permission:"cpm:common:tBalanceDetail:export"`
model.TBalanceDetailListParam
}
type TBalanceDetailExportRes struct{}
// ViewReq 获取余额明细表指定信息
type TBalanceDetailViewReq struct {
g.Meta `path:"/tBalanceDetail/view" method:"get" tags:"余额明细表" summary:"获取余额明细表指定信息" x-check-permission:"cpm:common:tBalanceDetail:view"`
model.TBalanceDetailViewParam
}
type TBalanceDetailViewRes struct {
*model.TBalanceDetailViewModel
}
// EditReq 修改/新增余额明细表
type TBalanceDetailEditReq struct {
g.Meta `path:"/tBalanceDetail/edit" method:"post" tags:"余额明细表" summary:"修改/新增余额明细表" x-check-permission:"cpm:common:tBalanceDetail:edit"`
model.TBalanceDetailEditParam
}
type TBalanceDetailEditRes struct{}
// DeleteReq 删除余额明细表
type TBalanceDetailDeleteReq struct {
g.Meta `path:"/tBalanceDetail/delete" method:"post" tags:"余额明细表" summary:"删除余额明细表" x-check-permission:"cpm:common:tBalanceDetail:delete"`
model.TBalanceDetailDeleteParam
}
type TBalanceDetailDeleteRes struct{}
@@ -0,0 +1,79 @@
// Package tconsumeaccountmonthbill
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tconsumeaccountmonthbill
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 TConsumeAccountMonthBillListReq struct {
g.Meta `path:"/tConsumeAccountMonthBill/list" method:"get" tags:"消费账户月账单表" summary:"获取消费账户月账单表列表" x-check-permission:"cpm:common:tConsumeAccountMonthBill:list"`
model.TConsumeAccountMonthBillListParam
}
type TConsumeAccountMonthBillListRes struct {
response.PageResult
Items []*model.TConsumeAccountMonthBillListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出消费账户月账单表列表
type TConsumeAccountMonthBillExportReq struct {
g.Meta `path:"/tConsumeAccountMonthBill/export" method:"post" tags:"消费账户月账单表" summary:"导出消费账户月账单表列表" x-check-permission:"cpm:common:tConsumeAccountMonthBill:export"`
model.TConsumeAccountMonthBillListParam
}
type TConsumeAccountMonthBillExportRes struct{}
// ViewReq 获取消费账户月账单表指定信息
type TConsumeAccountMonthBillViewReq struct {
g.Meta `path:"/tConsumeAccountMonthBill/view" method:"get" tags:"消费账户月账单表" summary:"获取消费账户月账单表指定信息" x-check-permission:"cpm:common:tConsumeAccountMonthBill:view"`
model.TConsumeAccountMonthBillViewParam
}
type TConsumeAccountMonthBillViewRes struct {
*model.TConsumeAccountMonthBillViewModel
}
// EditReq 修改/新增消费账户月账单表
type TConsumeAccountMonthBillEditReq struct {
g.Meta `path:"/tConsumeAccountMonthBill/edit" method:"post" tags:"消费账户月账单表" summary:"修改/新增消费账户月账单表" x-check-permission:"cpm:common:tConsumeAccountMonthBill:edit"`
model.TConsumeAccountMonthBillEditParam
}
type TConsumeAccountMonthBillEditRes struct{}
// DeleteReq 删除消费账户月账单表
type TConsumeAccountMonthBillDeleteReq struct {
g.Meta `path:"/tConsumeAccountMonthBill/delete" method:"post" tags:"消费账户月账单表" summary:"删除消费账户月账单表" x-check-permission:"cpm:common:tConsumeAccountMonthBill:delete"`
model.TConsumeAccountMonthBillDeleteParam
}
type TConsumeAccountMonthBillDeleteRes struct{}
// SettleReq 按账期统计消费账户月账单
type TConsumeAccountMonthBillSettleReq struct {
g.Meta `path:"/tConsumeAccountMonthBill/settle" method:"post" tags:"消费账户月账单表" summary:"统计并写入消费账户月账单" x-permission:"cpm:common:tConsumeAccountMonthBill:settle"`
model.TConsumeAccountMonthBillSettleParam
}
type TConsumeAccountMonthBillSettleRes struct {
*model.TConsumeAccountMonthBillSettleResult
}
// GetConsumptionBillSummaryReq 获取上月消费账单汇总信息
type TConsumeAccountMonthBillGetConsumptionBillSummaryReq struct {
g.Meta `path:"/tConsumeAccountMonthBill/getConsumptionBillSummary" method:"get" tags:"消费账户月账单表" summary:"获取上月消费账单汇总信息" x-permission:"cpm:common:tConsumeAccountMonthBill:getConsumptionBillSummary"`
Month string `json:"month" v:"required|length:7,7" dc:"账期,格式:YYYY-MM"`
}
type TConsumeAccountMonthBillGetConsumptionBillSummaryRes struct {
*model.TConsumptionBillSummaryModel
}
@@ -0,0 +1,59 @@
// Package tcreditdetail
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tcreditdetail
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 TCreditDetailListReq struct {
g.Meta `path:"/tCreditDetail/list" method:"get" tags:"信用额度明细表" summary:"获取信用额度明细表列表" x-check-permission:"cpm:common:tCreditDetail:list"`
model.TCreditDetailListParam
}
type TCreditDetailListRes struct {
response.PageResult
Items []*model.TCreditDetailListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出信用额度明细表列表
type TCreditDetailExportReq struct {
g.Meta `path:"/tCreditDetail/export" method:"post" tags:"信用额度明细表" summary:"导出信用额度明细表列表" x-check-permission:"cpm:common:tCreditDetail:export"`
model.TCreditDetailListParam
}
type TCreditDetailExportRes struct{}
// ViewReq 获取信用额度明细表指定信息
type TCreditDetailViewReq struct {
g.Meta `path:"/tCreditDetail/view" method:"get" tags:"信用额度明细表" summary:"获取信用额度明细表指定信息" x-check-permission:"cpm:common:tCreditDetail:view"`
model.TCreditDetailViewParam
}
type TCreditDetailViewRes struct {
*model.TCreditDetailViewModel
}
// EditReq 修改/新增信用额度明细表
type TCreditDetailEditReq struct {
g.Meta `path:"/tCreditDetail/edit" method:"post" tags:"信用额度明细表" summary:"修改/新增信用额度明细表" x-check-permission:"cpm:common:tCreditDetail:edit"`
model.TCreditDetailEditParam
}
type TCreditDetailEditRes struct{}
// DeleteReq 删除信用额度明细表
type TCreditDetailDeleteReq struct {
g.Meta `path:"/tCreditDetail/delete" method:"post" tags:"信用额度明细表" summary:"删除信用额度明细表" x-check-permission:"cpm:common:tCreditDetail:delete"`
model.TCreditDetailDeleteParam
}
type TCreditDetailDeleteRes struct{}
@@ -0,0 +1,59 @@
// Package tdivisioncode
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @Autoioterate Version
package v1 //tdivisioncode
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 TDivisionCodeListReq struct {
g.Meta `path:"/tDivisionCode/list" method:"get" tags:"村级行政区划表" summary:"获取村级行政区划表列表" x-check-permission:"cpm:iot:tDivisionCode:list"`
model.TDivisionCodeListParam
}
type TDivisionCodeListRes struct {
response.PageResult
Items []*model.TDivisionCodeListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出村级行政区划表列表
type TDivisionCodeExportReq struct {
g.Meta `path:"/tDivisionCode/export" method:"post" tags:"村级行政区划表" summary:"导出村级行政区划表列表" x-check-permission:"cpm:iot:tDivisionCode:export"`
model.TDivisionCodeListParam
}
type TDivisionCodeExportRes struct{}
// ViewReq 获取村级行政区划表指定信息
type TDivisionCodeViewReq struct {
g.Meta `path:"/tDivisionCode/view" method:"get" tags:"村级行政区划表" summary:"获取村级行政区划表指定信息" x-check-permission:"cpm:iot:tDivisionCode:view"`
model.TDivisionCodeViewParam
}
type TDivisionCodeViewRes struct {
*model.TDivisionCodeViewModel
}
// EditReq 修改/新增村级行政区划表
type TDivisionCodeEditReq struct {
g.Meta `path:"/tDivisionCode/edit" method:"post" tags:"村级行政区划表" summary:"修改/新增村级行政区划表" x-check-permission:"cpm:iot:tDivisionCode:edit"`
model.TDivisionCodeEditParam
}
type TDivisionCodeEditRes struct{}
// DeleteReq 删除村级行政区划表
type TDivisionCodeDeleteReq struct {
g.Meta `path:"/tDivisionCode/delete" method:"post" tags:"村级行政区划表" summary:"删除村级行政区划表" x-check-permission:"cpm:iot:tDivisionCode:delete"`
model.TDivisionCodeDeleteParam
}
type TDivisionCodeDeleteRes struct{}
@@ -0,0 +1,59 @@
// Package tfinanceapply
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tfinanceapply
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 TFinanceApplyListReq struct {
g.Meta `path:"/tFinanceApply/list" method:"get" tags:"财务申请表" summary:"获取财务申请表列表" x-check-permission:"cpm:gen:tFinanceApply:list"`
model.TFinanceApplyListParam
}
type TFinanceApplyListRes struct {
response.PageResult
Items []*model.TFinanceApplyListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出财务申请表列表
type TFinanceApplyExportReq struct {
g.Meta `path:"/tFinanceApply/export" method:"post" tags:"财务申请表" summary:"导出财务申请表列表" x-check-permission:"cpm:common:tFinanceApply:export"`
model.TFinanceApplyListParam
}
type TFinanceApplyExportRes struct{}
// ViewReq 获取财务申请表指定信息
type TFinanceApplyViewReq struct {
g.Meta `path:"/tFinanceApply/view" method:"get" tags:"财务申请表" summary:"获取财务申请表指定信息" x-check-permission:"cpm:common:tFinanceApply:view"`
model.TFinanceApplyViewParam
}
type TFinanceApplyViewRes struct {
*model.TFinanceApplyViewModel
}
// EditReq 修改/新增财务申请表
type TFinanceApplyEditReq struct {
g.Meta `path:"/tFinanceApply/edit" method:"post" tags:"财务申请表" summary:"修改/新增财务申请表" x-check-permission:"cpm:common:tFinanceApply:edit"`
model.TFinanceApplyEditParam
}
type TFinanceApplyEditRes struct{}
// DeleteReq 删除财务申请表
type TFinanceApplyDeleteReq struct {
g.Meta `path:"/tFinanceApply/delete" method:"post" tags:"财务申请表" summary:"删除财务申请表" x-check-permission:"cpm:common:tFinanceApply:delete"`
model.TFinanceApplyDeleteParam
}
type TFinanceApplyDeleteRes struct{}
@@ -0,0 +1,59 @@
// Package tfinanceauditrecord
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tfinanceauditrecord
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 TFinanceAuditRecordListReq struct {
g.Meta `path:"/tFinanceAuditRecord/list" method:"get" tags:"财务审核记录表" summary:"获取财务审核记录表列表" x-check-permission:"cpm:gen:tFinanceAuditRecord:list"`
model.TFinanceAuditRecordListParam
}
type TFinanceAuditRecordListRes struct {
response.PageResult
Items []*model.TFinanceAuditRecordListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出财务审核记录表列表
type TFinanceAuditRecordExportReq struct {
g.Meta `path:"/tFinanceAuditRecord/export" method:"post" tags:"财务审核记录表" summary:"导出财务审核记录表列表" x-check-permission:"cpm:common:tFinanceAuditRecord:export"`
model.TFinanceAuditRecordListParam
}
type TFinanceAuditRecordExportRes struct{}
// ViewReq 获取财务审核记录表指定信息
type TFinanceAuditRecordViewReq struct {
g.Meta `path:"/tFinanceAuditRecord/view" method:"get" tags:"财务审核记录表" summary:"获取财务审核记录表指定信息" x-check-permission:"cpm:common:tFinanceAuditRecord:view"`
model.TFinanceAuditRecordViewParam
}
type TFinanceAuditRecordViewRes struct {
*model.TFinanceAuditRecordViewModel
}
// EditReq 修改/新增财务审核记录表
type TFinanceAuditRecordEditReq struct {
g.Meta `path:"/tFinanceAuditRecord/edit" method:"post" tags:"财务审核记录表" summary:"修改/新增财务审核记录表" x-check-permission:"cpm:common:tFinanceAuditRecord:edit"`
model.TFinanceAuditRecordEditParam
}
type TFinanceAuditRecordEditRes struct{}
// DeleteReq 删除财务审核记录表
type TFinanceAuditRecordDeleteReq struct {
g.Meta `path:"/tFinanceAuditRecord/delete" method:"post" tags:"财务审核记录表" summary:"删除财务审核记录表" x-check-permission:"cpm:common:tFinanceAuditRecord:delete"`
model.TFinanceAuditRecordDeleteParam
}
type TFinanceAuditRecordDeleteRes struct{}
@@ -0,0 +1,79 @@
// Package tfincommissiondetail
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tfincommissiondetail
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 TFinCommissionDetailListReq struct {
g.Meta `path:"/tFinCommissionDetail/list" method:"get" tags:"分润明细表" summary:"获取分润明细表列表" x-check-permission:"cpm:common:tFinCommissionDetail:list"`
model.TFinCommissionDetailListParam
}
type TFinCommissionDetailListRes struct {
response.PageResult
Items []*model.TFinCommissionDetailListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出分润明细表列表
type TFinCommissionDetailExportReq struct {
g.Meta `path:"/tFinCommissionDetail/export" method:"post" tags:"分润明细表" summary:"导出分润明细表列表" x-check-permission:"cpm:common:tFinCommissionDetail:export"`
model.TFinCommissionDetailListParam
}
type TFinCommissionDetailExportRes struct{}
// ViewReq 获取分润明细表指定信息
type TFinCommissionDetailViewReq struct {
g.Meta `path:"/tFinCommissionDetail/view" method:"get" tags:"分润明细表" summary:"获取分润明细表指定信息" x-check-permission:"cpm:common:tFinCommissionDetail:view"`
model.TFinCommissionDetailViewParam
}
type TFinCommissionDetailViewRes struct {
*model.TFinCommissionDetailViewModel
}
// EditReq 修改/新增分润明细表
type TFinCommissionDetailEditReq struct {
g.Meta `path:"/tFinCommissionDetail/edit" method:"post" tags:"分润明细表" summary:"修改/新增分润明细表" x-check-permission:"cpm:common:tFinCommissionDetail:edit"`
model.TFinCommissionDetailEditParam
}
type TFinCommissionDetailEditRes struct{}
// DeleteReq 删除分润明细表
type TFinCommissionDetailDeleteReq struct {
g.Meta `path:"/tFinCommissionDetail/delete" method:"post" tags:"分润明细表" summary:"删除分润明细表" x-check-permission:"cpm:common:tFinCommissionDetail:delete"`
model.TFinCommissionDetailDeleteParam
}
type TFinCommissionDetailDeleteRes struct{}
// GetCommissionOverviewReq 获取分层分润概览
type TFinCommissionDetailGetCommissionOverviewReq struct {
g.Meta `path:"/tFinCommissionDetail/getCommissionOverview" method:"get" tags:"分润明细表" summary:"获取分层分润概览" x-check-permission:"cpm:common:tFinCommissionDetail:getCommissionOverview"`
model.TCommissionOverviewParam
}
type TFinCommissionDetailGetCommissionOverviewRes struct {
*model.TCommissionOverviewModel
}
// GetLevelSummaryReq 获取层级汇总表
type TFinCommissionDetailGetLevelSummaryReq struct {
g.Meta `path:"/tFinCommissionDetail/getLevelSummary" method:"get" tags:"分润明细表" summary:"获取层级汇总表" x-permission:"cpm:common:tFinCommissionDetail:getLevelSummary"`
model.TLevelSummaryParam
}
type TFinCommissionDetailGetLevelSummaryRes struct {
*model.TLevelSummaryModel
}
@@ -0,0 +1,59 @@
// Package tfinwithdrawablechange
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tfinwithdrawablechange
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 TFinWithdrawableChangeListReq struct {
g.Meta `path:"/tFinWithdrawableChange/list" method:"get" tags:"可提现变动明细表" summary:"获取可提现变动明细表列表" x-check-permission:"cpm:common:tFinWithdrawableChange:list"`
model.TFinWithdrawableChangeListParam
}
type TFinWithdrawableChangeListRes struct {
response.PageResult
Items []*model.TFinWithdrawableChangeListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出可提现变动明细表列表
type TFinWithdrawableChangeExportReq struct {
g.Meta `path:"/tFinWithdrawableChange/export" method:"post" tags:"可提现变动明细表" summary:"导出可提现变动明细表列表" x-check-permission:"cpm:common:tFinWithdrawableChange:export"`
model.TFinWithdrawableChangeListParam
}
type TFinWithdrawableChangeExportRes struct{}
// ViewReq 获取可提现变动明细表指定信息
type TFinWithdrawableChangeViewReq struct {
g.Meta `path:"/tFinWithdrawableChange/view" method:"get" tags:"可提现变动明细表" summary:"获取可提现变动明细表指定信息" x-check-permission:"cpm:common:tFinWithdrawableChange:view"`
model.TFinWithdrawableChangeViewParam
}
type TFinWithdrawableChangeViewRes struct {
*model.TFinWithdrawableChangeViewModel
}
// EditReq 修改/新增可提现变动明细表
type TFinWithdrawableChangeEditReq struct {
g.Meta `path:"/tFinWithdrawableChange/edit" method:"post" tags:"可提现变动明细表" summary:"修改/新增可提现变动明细表" x-check-permission:"cpm:common:tFinWithdrawableChange:edit"`
model.TFinWithdrawableChangeEditParam
}
type TFinWithdrawableChangeEditRes struct{}
// DeleteReq 删除可提现变动明细表
type TFinWithdrawableChangeDeleteReq struct {
g.Meta `path:"/tFinWithdrawableChange/delete" method:"post" tags:"可提现变动明细表" summary:"删除可提现变动明细表" x-check-permission:"cpm:common:tFinWithdrawableChange:delete"`
model.TFinWithdrawableChangeDeleteParam
}
type TFinWithdrawableChangeDeleteRes struct{}
@@ -0,0 +1,87 @@
// Package tmessagelog
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tmessagelog
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 TMessageLogListReq struct {
g.Meta `path:"/tMessageLog/list" method:"get" tags:"消息日志" summary:"获取消息日志列表" x-check-permission:"cpm:common:tMessageLog:list"`
model.TMessageLogListParam
}
type TMessageLogListRes struct {
response.PageResult
Items []*model.TMessageLogListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出消息日志列表
type TMessageLogExportReq struct {
g.Meta `path:"/tMessageLog/export" method:"post" tags:"消息日志" summary:"导出消息日志列表" x-check-permission:"cpm:common:tMessageLog:export"`
model.TMessageLogListParam
}
type TMessageLogExportRes struct{}
// ViewReq 获取消息日志指定信息
type TMessageLogViewReq struct {
g.Meta `path:"/tMessageLog/view" method:"get" tags:"消息日志" summary:"获取消息日志指定信息" x-check-permission:"cpm:common:tMessageLog:view"`
model.TMessageLogViewParam
}
type TMessageLogViewRes struct {
*model.TMessageLogViewModel
}
// EditReq 修改/新增消息日志
type TMessageLogEditReq struct {
g.Meta `path:"/tMessageLog/edit" method:"post" tags:"消息日志" summary:"修改/新增消息日志" x-check-permission:"cpm:common:tMessageLog:edit"`
model.TMessageLogEditParam
}
type TMessageLogEditRes struct{}
// DeleteReq 删除消息日志
type TMessageLogDeleteReq struct {
g.Meta `path:"/tMessageLog/delete" method:"post" tags:"消息日志" summary:"删除消息日志" x-check-permission:"cpm:common:tMessageLog:delete"`
model.TMessageLogDeleteParam
}
type TMessageLogDeleteRes struct{}
// UnreadListReq 获取当前登录用户未读消息通知
// 右上角消息提醒:任意登录用户都只能查看自己的未读消息,故仅校验登录态。
type TMessageLogUnreadListReq struct {
g.Meta `path:"/tMessageLog/unreadList" method:"get" tags:"消息日志" summary:"获取当前用户未读消息通知" x-check-permission:"cpc:current:user"`
model.TMessageLogUnreadListParam
}
type TMessageLogUnreadListRes struct {
Items []*model.TMessageLogUnreadListModel `json:"items" dc:"未读消息列表"`
Total int `json:"total" dc:"未读消息总数"`
}
// ReadReq 标记当前登录用户指定消息已读
type TMessageLogReadReq struct {
g.Meta `path:"/tMessageLog/read" method:"post" tags:"消息日志" summary:"标记当前用户指定消息已读" x-check-permission:"cpc:current:user"`
model.TMessageLogReadParam
}
type TMessageLogReadRes struct{}
// ReadAllReq 标记当前登录用户全部消息已读
type TMessageLogReadAllReq struct {
g.Meta `path:"/tMessageLog/readAll" method:"post" tags:"消息日志" summary:"标记当前用户全部消息已读" x-check-permission:"cpc:current:user"`
model.TMessageLogReadAllParam
}
type TMessageLogReadAllRes struct{}
@@ -0,0 +1,59 @@
// Package tnotifylog
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tnotifylog
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 TNotifyLogListReq struct {
g.Meta `path:"/tNotifyLog/list" method:"get" tags:"通知日志" summary:"获取通知日志列表" x-check-permission:"cpm:common:tNotifyLog:list"`
model.TNotifyLogListParam
}
type TNotifyLogListRes struct {
response.PageResult
Items []*model.TNotifyLogListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出通知日志列表
type TNotifyLogExportReq struct {
g.Meta `path:"/tNotifyLog/export" method:"post" tags:"通知日志" summary:"导出通知日志列表" x-check-permission:"cpm:common:tNotifyLog:export"`
model.TNotifyLogListParam
}
type TNotifyLogExportRes struct{}
// ViewReq 获取通知日志指定信息
type TNotifyLogViewReq struct {
g.Meta `path:"/tNotifyLog/view" method:"get" tags:"通知日志" summary:"获取通知日志指定信息" x-check-permission:"cpm:common:tNotifyLog:view"`
model.TNotifyLogViewParam
}
type TNotifyLogViewRes struct {
*model.TNotifyLogViewModel
}
// EditReq 修改/新增通知日志
type TNotifyLogEditReq struct {
g.Meta `path:"/tNotifyLog/edit" method:"post" tags:"通知日志" summary:"修改/新增通知日志" x-check-permission:"cpm:common:tNotifyLog:edit"`
model.TNotifyLogEditParam
}
type TNotifyLogEditRes struct{}
// DeleteReq 删除通知日志
type TNotifyLogDeleteReq struct {
g.Meta `path:"/tNotifyLog/delete" method:"post" tags:"通知日志" summary:"删除通知日志" x-check-permission:"cpm:common:tNotifyLog:delete"`
model.TNotifyLogDeleteParam
}
type TNotifyLogDeleteRes struct{}
@@ -0,0 +1,99 @@
// Package tprofitaccountmonthbill
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tprofitaccountmonthbill
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 TProfitAccountMonthBillListReq struct {
g.Meta `path:"/tProfitAccountMonthBill/list" method:"get" tags:"盈利账户月账单表" summary:"获取盈利账户月账单表列表" x-check-permission:"cpm:common:tProfitAccountMonthBill:list"`
model.TProfitAccountMonthBillListParam
}
type TProfitAccountMonthBillListRes struct {
response.PageResult
Items []*model.TProfitAccountMonthBillListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出盈利账户月账单表列表
type TProfitAccountMonthBillExportReq struct {
g.Meta `path:"/tProfitAccountMonthBill/export" method:"post" tags:"盈利账户月账单表" summary:"导出盈利账户月账单表列表" x-check-permission:"cpm:common:tProfitAccountMonthBill:export"`
model.TProfitAccountMonthBillListParam
}
type TProfitAccountMonthBillExportRes struct{}
// ViewReq 获取盈利账户月账单表指定信息
type TProfitAccountMonthBillViewReq struct {
g.Meta `path:"/tProfitAccountMonthBill/view" method:"get" tags:"盈利账户月账单表" summary:"获取盈利账户月账单表指定信息" x-check-permission:"cpm:common:tProfitAccountMonthBill:view"`
model.TProfitAccountMonthBillViewParam
}
type TProfitAccountMonthBillViewRes struct {
*model.TProfitAccountMonthBillViewModel
}
// EditReq 修改/新增盈利账户月账单表
type TProfitAccountMonthBillEditReq struct {
g.Meta `path:"/tProfitAccountMonthBill/edit" method:"post" tags:"盈利账户月账单表" summary:"修改/新增盈利账户月账单表" x-check-permission:"cpm:common:tProfitAccountMonthBill:edit"`
model.TProfitAccountMonthBillEditParam
}
type TProfitAccountMonthBillEditRes struct{}
// DeleteReq 删除盈利账户月账单表
type TProfitAccountMonthBillDeleteReq struct {
g.Meta `path:"/tProfitAccountMonthBill/delete" method:"post" tags:"盈利账户月账单表" summary:"删除盈利账户月账单表" x-check-permission:"cpm:common:tProfitAccountMonthBill:delete"`
model.TProfitAccountMonthBillDeleteParam
}
type TProfitAccountMonthBillDeleteRes struct{}
// SettleReq 统计并写入盈利账户月账单
type TProfitAccountMonthBillSettleReq struct {
g.Meta `path:"/tProfitAccountMonthBill/settle" method:"post" tags:"盈利账户月账单表" summary:"统计并写入盈利账户月账单" x-permission:"cpm:common:tProfitAccountMonthBill:settle"`
model.TProfitAccountMonthBillSettleParam
}
type TProfitAccountMonthBillSettleRes struct {
*model.TProfitAccountMonthBillSettleResult
}
// GetProfitBillSummaryReq 获取上月盈利账单汇总信息
type TProfitAccountMonthBillGetProfitBillSummaryReq struct {
g.Meta `path:"/tProfitAccountMonthBill/getProfitBillSummary" method:"get" tags:"盈利账户月账单表" summary:"获取上月盈利账单汇总信息" x-permission:"cpm:common:tProfitAccountMonthBill:getProfitBillSummary"`
Month string `json:"month" v:"required|length:7,7" dc:"账期,格式:YYYY-MM"`
}
type TProfitAccountMonthBillGetProfitBillSummaryRes struct {
*model.TProfitBillModel
}
// GetCoreFinancialDataReq 获取核心财务指标
type TProfitAccountMonthBillGetCoreFinancialDataReq struct {
g.Meta `path:"/tProfitAccountMonthBill/getCoreFinancialData" method:"get" tags:"盈利账户月账单表" summary:"获取核心财务指标" x-permission:"cpm:common:tProfitAccountMonthBill:getCoreFinancialData"`
model.TCommissionOverviewParam
}
type TProfitAccountMonthBillGetCoreFinancialDataRes struct {
*model.TCoreFinancialDataModel
}
// GetFinancialTrendReq 获取财务趋势折线图
type TProfitAccountMonthBillGetFinancialTrendReq struct {
g.Meta `path:"/tProfitAccountMonthBill/getFinancialTrend" method:"get" tags:"盈利账户月账单表" summary:"获取财务趋势折线图" x-permission:"cpm:common:tProfitAccountMonthBill:getFinancialTrend"`
model.TFinancialTrendParam
}
type TProfitAccountMonthBillGetFinancialTrendRes struct {
*model.TFinancialTrendModel
}
@@ -0,0 +1,66 @@
// Package twocommunication
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //twocommunication
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"
)
// TWoCommunicationListReq 查询工单问题沟通表列表
type TWoCommunicationListReq struct {
g.Meta `path:"/tWoCommunication/list" method:"get" tags:"工单问题沟通表" summary:"获取工单问题沟通表列表" x-check-permission:"cpm:gen:tWoCommunication:list"`
model.TWoCommunicationListParam
}
type TWoCommunicationListRes struct {
response.PageResult
Items []*model.TWoCommunicationListModel `json:"items" dc:"数据列表"`
}
// TWoCommunicationExportReq 导出工单问题沟通表列表
type TWoCommunicationExportReq struct {
g.Meta `path:"/tWoCommunication/export" method:"post" tags:"工单问题沟通表" summary:"导出工单问题沟通表列表" x-check-permission:"cpm:gen:tWoCommunication:export"`
model.TWoCommunicationListParam
}
type TWoCommunicationExportRes struct{}
// TWoCommunicationViewReq 获取工单问题沟通表指定信息
type TWoCommunicationViewReq struct {
g.Meta `path:"/tWoCommunication/view" method:"get" tags:"工单问题沟通表" summary:"获取工单问题沟通表指定信息" x-check-permission:"cpm:gen:tWoCommunication:view"`
model.TWoCommunicationViewParam
}
type TWoCommunicationViewRes struct {
*model.TWoCommunicationViewModel
}
// TWoCommunicationEditReq 修改/新增工单问题沟通表
type TWoCommunicationEditReq struct {
g.Meta `path:"/tWoCommunication/edit" method:"post" tags:"工单问题沟通表" summary:"修改/新增工单问题沟通表" x-check-permission:"cpm:gen:tWoCommunication:edit"`
model.TWoCommunicationEditParam
}
type TWoCommunicationEditRes struct{}
type TWoCommunicationMessageReq struct {
g.Meta `path:"/tWoCommunication/message" method:"post" tags:"工单问题沟通表" summary:"发送工单对话消息" x-check-permission:"cpm:gen:tWoCommunication:message"`
model.TWoMainMessageParam
}
type TWoCommunicationMessageRes struct{}
// TWoCommunicationDeleteReq 删除工单问题沟通表
type TWoCommunicationDeleteReq struct {
g.Meta `path:"/tWoCommunication/delete" method:"post" tags:"工单问题沟通表" summary:"删除工单问题沟通表" x-check-permission:"cpm:gen:tWoCommunication:delete"`
model.TWoCommunicationDeleteParam
}
type TWoCommunicationDeleteRes struct{}
+94
View File
@@ -0,0 +1,94 @@
// Package twomain
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //twomain
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"
)
// TWoMainListReq 查询工单主表列表
type TWoMainListReq struct {
g.Meta `path:"/tWoMain/list" method:"get" tags:"工单主表" summary:"获取工单主表列表" x-check-permission:"cpm:gen:tWoMain:list"`
model.TWoMainListParam
}
type TWoMainListRes struct {
response.PageResult
Items []*model.TWoMainListModel `json:"items" dc:"数据列表"`
}
// TWoMainExportReq 导出工单主表列表
type TWoMainExportReq struct {
g.Meta `path:"/tWoMain/export" method:"post" tags:"工单主表" summary:"导出工单主表列表" x-check-permission:"cpm:gen:tWoMain:export"`
model.TWoMainListParam
}
type TWoMainExportRes struct{}
// TWoMainViewReq 获取工单主表指定信息
type TWoMainViewReq struct {
g.Meta `path:"/tWoMain/view" method:"get" tags:"工单主表" summary:"获取工单主表指定信息" x-check-permission:"cpm:gen:tWoMain:view"`
model.TWoMainViewParam
}
type TWoMainViewRes struct {
*model.TWoMainViewModel
}
// TWoMainEditReq 修改/新增工单主表
type TWoMainEditReq struct {
g.Meta `path:"/tWoMain/edit" method:"post" tags:"工单主表" summary:"修改/新增工单主表" x-check-permission:"cpm:gen:tWoMain:edit"`
model.TWoMainEditParam
}
type TWoMainEditRes struct{}
type TWoMainTransferReq struct {
g.Meta `path:"/tWoMain/transfer" method:"post" tags:"工单主表" summary:"工单转单到顶级部门" x-check-permission:"cpm:gen:tWoMain:transfer"`
model.TWoMainTransferParam
}
type TWoMainTransferRes struct{}
type TWoMainResolveReq struct {
g.Meta `path:"/tWoMain/resolve" method:"post" tags:"工单主表" summary:"工单处理完成" x-check-permission:"cpm:gen:tWoMain:resolve"`
model.TWoMainResolveParam
}
type TWoMainResolveRes struct{}
type TWoMainCancelReq struct {
g.Meta `path:"/tWoMain/cancel" method:"post" tags:"工单主表" summary:"用户取消工单" x-check-permission:"cpm:gen:tWoMain:cancel"`
model.TWoMainCancelParam
}
type TWoMainCancelRes struct{}
type TWoMainCloseReq struct {
g.Meta `path:"/tWoMain/close" method:"post" tags:"工单主表" summary:"关闭工单" x-check-permission:"cpm:gen:tWoMain:close"`
model.TWoMainCloseParam
}
type TWoMainCloseRes struct{}
type TWoMainEvaluateReq struct {
g.Meta `path:"/tWoMain/evaluate" method:"post" tags:"工单主表" summary:"用户评价工单" x-check-permission:"cpm:gen:tWoMain:evaluate"`
model.TWoMainEvaluateParam
}
type TWoMainEvaluateRes struct{}
// TWoMainDeleteReq 删除工单主表
type TWoMainDeleteReq struct {
g.Meta `path:"/tWoMain/delete" method:"post" tags:"工单主表" summary:"删除工单主表" x-check-permission:"cpm:gen:tWoMain:delete"`
model.TWoMainDeleteParam
}
type TWoMainDeleteRes struct{}
@@ -0,0 +1,59 @@
// Package tworecord
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tworecord
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 TWoRecordListReq struct {
g.Meta `path:"/tWoRecord/list" method:"get" tags:"工单记录表" summary:"获取工单记录表列表" x-check-permission:"cpm:gen:tWoRecord:list"`
model.TWoRecordListParam
}
type TWoRecordListRes struct {
response.PageResult
Items []*model.TWoRecordListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出工单记录表列表
type TWoRecordExportReq struct {
g.Meta `path:"/tWoRecord/export" method:"post" tags:"工单记录表" summary:"导出工单记录表列表" x-check-permission:"cpm:gen:tWoRecord:export"`
model.TWoRecordListParam
}
type TWoRecordExportRes struct{}
// ViewReq 获取工单记录表指定信息
type TWoRecordViewReq struct {
g.Meta `path:"/tWoRecord/view" method:"get" tags:"工单记录表" summary:"获取工单记录表指定信息" x-check-permission:"cpm:gen:tWoRecord:view"`
model.TWoRecordViewParam
}
type TWoRecordViewRes struct {
*model.TWoRecordViewModel
}
// EditReq 修改/新增工单记录表
type TWoRecordEditReq struct {
g.Meta `path:"/tWoRecord/edit" method:"post" tags:"工单记录表" summary:"修改/新增工单记录表" x-check-permission:"cpm:gen:tWoRecord:edit"`
model.TWoRecordEditParam
}
type TWoRecordEditRes struct{}
// DeleteReq 删除工单记录表
type TWoRecordDeleteReq struct {
g.Meta `path:"/tWoRecord/delete" method:"post" tags:"工单记录表" summary:"删除工单记录表" x-check-permission:"cpm:gen:tWoRecord:delete"`
model.TWoRecordDeleteParam
}
type TWoRecordDeleteRes struct{}
+29
View File
@@ -0,0 +1,29 @@
// Package v1
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type SysOssUploadReq struct {
g.Meta `path:"/oss/upload" method:"post" tags:"系统-存储管理" summary:"上传文件" x-check-permission:"cpm:system:oss:upload"`
*model.SysOssUploadParam
}
type SysOssUploadRes struct {
*model.SysOssUploadModel
}
type SysOssDownloadReq struct {
g.Meta `path:"/oss/download" method:"get" tags:"系统-存储管理" summary:"下载文件" x-check-permission:"cpm:system:oss:download"`
*model.SysOssDownloadParam
}
type SysOssDownloadRes struct {
*model.SysOssDownloadModel
}