sync: 同步 v1.0.4 并脱敏配置与镜像

This commit is contained in:
MiFaZhan
2026-10-29 14:36:49 +08:00
parent 743e8e6e6e
commit 2206a393f7
516 changed files with 18119 additions and 2253 deletions
+4
View File
@@ -16,6 +16,7 @@ type ICommonV1 interface {
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)
@@ -82,6 +83,9 @@ type ICommonV1 interface {
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)
@@ -35,3 +35,12 @@ 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
}
+9 -1
View File
@@ -1,7 +1,7 @@
// Package batchmain
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //batchmain
@@ -34,6 +34,14 @@ type BatchMainSuccessListRes struct {
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
+45
View File
@@ -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{}
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tagentbalance
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tagentbalance
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tbalancedetail
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tbalancedetail
@@ -1,7 +1,7 @@
// Package tconsumeaccountmonthbill
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tconsumeaccountmonthbill
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tcreditdetail
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tcreditdetail
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tdivisioncode
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @Autoioterate Version
package v1 //tdivisioncode
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tfinanceapply
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tfinanceapply
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tfinanceauditrecord
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tfinanceauditrecord
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tfincommissiondetail
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tfincommissiondetail
@@ -1,7 +1,7 @@
// Package tfinwithdrawablechange
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tfinwithdrawablechange
+29 -1
View File
@@ -1,7 +1,7 @@
// Package tmessagelog
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tmessagelog
@@ -57,3 +57,31 @@ type TMessageLogDeleteReq struct {
}
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{}
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tnotifylog
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tnotifylog
@@ -1,7 +1,7 @@
// Package tprofitaccountmonthbill
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tprofitaccountmonthbill
+1 -1
View File
@@ -1,7 +1,7 @@
// Package twocommunication
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //twocommunication
+1 -1
View File
@@ -1,7 +1,7 @@
// Package twomain
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //twomain
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tworecord
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tworecord
+1 -1
View File
@@ -1,7 +1,7 @@
// Package v1
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package v1