sync: 同步 v1.0.4 并脱敏配置与镜像
This commit is contained in:
@@ -11,6 +11,8 @@ import (
|
||||
)
|
||||
|
||||
type IAgentV1 interface {
|
||||
UserExport(ctx context.Context, req *v1.UserExportReq) (res *v1.UserExportRes, err error)
|
||||
DeptExport(ctx context.Context, req *v1.DeptExportReq) (res *v1.DeptExportRes, err error)
|
||||
DeptList(ctx context.Context, req *v1.DeptListReq) (res *v1.DeptListRes, err error)
|
||||
DeptView(ctx context.Context, req *v1.DeptViewReq) (res *v1.DeptViewRes, err error)
|
||||
DeptSave(ctx context.Context, req *v1.DeptSaveReq) (res *v1.DeptSaveRes, err error)
|
||||
|
||||
@@ -12,6 +12,13 @@ type DeptListReq struct {
|
||||
model.AgentDeptListParam
|
||||
}
|
||||
|
||||
type DeptExportReq struct {
|
||||
g.Meta `path:"/dept/export" method:"get" tags:"代理商组织管理" summary:"异步导出企业客户" x-check-permission:"cpm:agent:dept:export"`
|
||||
model.AgentDeptListParam
|
||||
}
|
||||
|
||||
type DeptExportRes struct{}
|
||||
|
||||
type DeptListRes struct {
|
||||
response.PageResult
|
||||
Data []*model.AgentEnterpriseCustomerModel `json:"items"`
|
||||
|
||||
@@ -12,6 +12,13 @@ type UserListReq struct {
|
||||
model.AgentUserListParam
|
||||
}
|
||||
|
||||
type UserExportReq struct {
|
||||
g.Meta `path:"/user/export" method:"get" tags:"代理商用户管理" summary:"异步导出用户" x-check-permission:"cpm:agent:user:export"`
|
||||
model.AgentUserListParam
|
||||
}
|
||||
|
||||
type UserExportRes struct{}
|
||||
|
||||
type UserListRes struct {
|
||||
response.PageResult
|
||||
Data []*model.AgentUserListModel `json:"items"`
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Package tagententerprise
|
||||
// @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 //tagententerprise
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Package tapi
|
||||
// @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 //tapi
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Package tcustwithdrawaccount
|
||||
// @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 //tcustwithdrawaccount
|
||||
|
||||
Reference in New Issue
Block a user