chore: 并入 iotlcm-admin-svr 历史到 admin-svr/(原提交 49818c6)
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package agent
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/api/agent/v1"
|
||||
)
|
||||
|
||||
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)
|
||||
DeptDelete(ctx context.Context, req *v1.DeptDeleteReq) (res *v1.DeptDeleteRes, err error)
|
||||
DeptResetPassword(ctx context.Context, req *v1.DeptResetPasswordReq) (res *v1.DeptResetPasswordRes, err error)
|
||||
GetDeptApiInfo(ctx context.Context, req *v1.GetDeptApiInfoReq) (res *v1.GetDeptApiInfoRes, err error)
|
||||
SubCompany(ctx context.Context, req *v1.SubCompanyReq) (res *v1.SubCompanyRes, err error)
|
||||
MenuTree(ctx context.Context, req *v1.MenuTreeReq) (res *v1.MenuTreeRes, err error)
|
||||
RoleList(ctx context.Context, req *v1.RoleListReq) (res *v1.RoleListRes, err error)
|
||||
RoleView(ctx context.Context, req *v1.RoleViewReq) (res *v1.RoleViewRes, err error)
|
||||
RoleSave(ctx context.Context, req *v1.RoleSaveReq) (res *v1.RoleSaveRes, err error)
|
||||
RoleDelete(ctx context.Context, req *v1.RoleDeleteReq) (res *v1.RoleDeleteRes, err error)
|
||||
Scope(ctx context.Context, req *v1.ScopeReq) (res *v1.ScopeRes, err error)
|
||||
UserList(ctx context.Context, req *v1.UserListReq) (res *v1.UserListRes, err error)
|
||||
UserView(ctx context.Context, req *v1.UserViewReq) (res *v1.UserViewRes, err error)
|
||||
UserAdd(ctx context.Context, req *v1.UserAddReq) (res *v1.UserAddRes, err error)
|
||||
UserUpdate(ctx context.Context, req *v1.UserUpdateReq) (res *v1.UserUpdateRes, err error)
|
||||
UserDelete(ctx context.Context, req *v1.UserDeleteReq) (res *v1.UserDeleteRes, err error)
|
||||
UserResetPassword(ctx context.Context, req *v1.UserResetPasswordReq) (res *v1.UserResetPasswordRes, err error)
|
||||
TAgentEnterpriseList(ctx context.Context, req *v1.TAgentEnterpriseListReq) (res *v1.TAgentEnterpriseListRes, err error)
|
||||
TAgentEnterpriseExport(ctx context.Context, req *v1.TAgentEnterpriseExportReq) (res *v1.TAgentEnterpriseExportRes, err error)
|
||||
TAgentEnterpriseView(ctx context.Context, req *v1.TAgentEnterpriseViewReq) (res *v1.TAgentEnterpriseViewRes, err error)
|
||||
TAgentEnterpriseEdit(ctx context.Context, req *v1.TAgentEnterpriseEditReq) (res *v1.TAgentEnterpriseEditRes, err error)
|
||||
TAgentEnterpriseDelete(ctx context.Context, req *v1.TAgentEnterpriseDeleteReq) (res *v1.TAgentEnterpriseDeleteRes, err error)
|
||||
TApiList(ctx context.Context, req *v1.TApiListReq) (res *v1.TApiListRes, err error)
|
||||
TApiExport(ctx context.Context, req *v1.TApiExportReq) (res *v1.TApiExportRes, err error)
|
||||
TApiView(ctx context.Context, req *v1.TApiViewReq) (res *v1.TApiViewRes, err error)
|
||||
TApiEdit(ctx context.Context, req *v1.TApiEditReq) (res *v1.TApiEditRes, err error)
|
||||
TApiDelete(ctx context.Context, req *v1.TApiDeleteReq) (res *v1.TApiDeleteRes, err error)
|
||||
TApiGroupList(ctx context.Context, req *v1.TApiGroupListReq) (res *v1.TApiGroupListRes, err error)
|
||||
TApiGroupExport(ctx context.Context, req *v1.TApiGroupExportReq) (res *v1.TApiGroupExportRes, err error)
|
||||
TApiGroupView(ctx context.Context, req *v1.TApiGroupViewReq) (res *v1.TApiGroupViewRes, err error)
|
||||
TApiGroupEdit(ctx context.Context, req *v1.TApiGroupEditReq) (res *v1.TApiGroupEditRes, err error)
|
||||
TApiGroupDelete(ctx context.Context, req *v1.TApiGroupDeleteReq) (res *v1.TApiGroupDeleteRes, err error)
|
||||
TApiGroupStatus(ctx context.Context, req *v1.TApiGroupStatusReq) (res *v1.TApiGroupStatusRes, err error)
|
||||
TApiResourceList(ctx context.Context, req *v1.TApiResourceListReq) (res *v1.TApiResourceListRes, err error)
|
||||
TApiResourceExport(ctx context.Context, req *v1.TApiResourceExportReq) (res *v1.TApiResourceExportRes, err error)
|
||||
TApiResourceView(ctx context.Context, req *v1.TApiResourceViewReq) (res *v1.TApiResourceViewRes, err error)
|
||||
TApiResourceEdit(ctx context.Context, req *v1.TApiResourceEditReq) (res *v1.TApiResourceEditRes, err error)
|
||||
TApiResourceDelete(ctx context.Context, req *v1.TApiResourceDeleteReq) (res *v1.TApiResourceDeleteRes, err error)
|
||||
TApiResourceStatus(ctx context.Context, req *v1.TApiResourceStatusReq) (res *v1.TApiResourceStatusRes, err error)
|
||||
TCustWithdrawAccountList(ctx context.Context, req *v1.TCustWithdrawAccountListReq) (res *v1.TCustWithdrawAccountListRes, err error)
|
||||
TCustWithdrawAccountExport(ctx context.Context, req *v1.TCustWithdrawAccountExportReq) (res *v1.TCustWithdrawAccountExportRes, err error)
|
||||
TCustWithdrawAccountView(ctx context.Context, req *v1.TCustWithdrawAccountViewReq) (res *v1.TCustWithdrawAccountViewRes, err error)
|
||||
TCustWithdrawAccountEdit(ctx context.Context, req *v1.TCustWithdrawAccountEditReq) (res *v1.TCustWithdrawAccountEditRes, err error)
|
||||
TCustWithdrawAccountDelete(ctx context.Context, req *v1.TCustWithdrawAccountDeleteReq) (res *v1.TCustWithdrawAccountDeleteRes, err error)
|
||||
TCustWithdrawAccountStatus(ctx context.Context, req *v1.TCustWithdrawAccountStatusReq) (res *v1.TCustWithdrawAccountStatusRes, err error)
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
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 DeptListReq struct {
|
||||
g.Meta `path:"/dept/list" method:"get" tags:"代理商组织管理" summary:"代理商组织列表" x-check-permission:"cpm:agent:dept:list"`
|
||||
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"`
|
||||
}
|
||||
|
||||
type DeptViewReq struct {
|
||||
g.Meta `path:"/dept/view" method:"get" tags:"代理商组织管理" summary:"代理商组织详情" x-check-permission:"cpm:agent:dept:query"`
|
||||
DeptId int64 `json:"deptId"`
|
||||
}
|
||||
|
||||
type DeptViewRes struct {
|
||||
model.AgentEnterpriseCustomerModel
|
||||
}
|
||||
|
||||
type DeptSaveReq struct {
|
||||
g.Meta `path:"/dept/save" method:"post" tags:"代理商组织管理" summary:"保存代理商组织" x-check-permission:"cpm:agent:dept:edit"`
|
||||
model.AgentDeptSaveParam
|
||||
}
|
||||
|
||||
type DeptSaveRes struct {
|
||||
DeptId int64 `json:"deptId"`
|
||||
}
|
||||
|
||||
type DeptDeleteReq struct {
|
||||
g.Meta `path:"/dept/delete" method:"post" tags:"代理商组织管理" summary:"删除代理商组织" x-check-permission:"cpm:agent:dept:remove"`
|
||||
DeptId int64 `json:"deptId"`
|
||||
}
|
||||
|
||||
type DeptDeleteRes struct{}
|
||||
|
||||
type DeptResetPasswordReq struct {
|
||||
g.Meta `path:"/dept/resetPassword" method:"post" tags:"代理商企业客户管理" summary:"重置企业客户默认用户密码" x-check-permission:"cpm:agent:dept:edit"`
|
||||
DeptId int64 `json:"deptId"`
|
||||
Password string `json:"password"`
|
||||
}
|
||||
|
||||
type DeptResetPasswordRes struct{}
|
||||
|
||||
type GetDeptApiInfoReq struct {
|
||||
g.Meta `path:"/dept/apiInfo" method:"get" tags:"代理商组织管理" summary:"获取代理商组织API信息" x-check-permission:"cpm:agent:dept:apiInfo"`
|
||||
}
|
||||
|
||||
type GetDeptApiInfoRes struct {
|
||||
model.AgentDeptApiModel
|
||||
}
|
||||
|
||||
type SubCompanyReq struct {
|
||||
g.Meta `path:"/dept/subCompany" method:"get" tags:"代理商组织管理" summary:"获取直属下级"`
|
||||
}
|
||||
|
||||
type SubCompanyRes struct {
|
||||
Data []*model.SysDeptTreeModel `json:"items"`
|
||||
}
|
||||
@@ -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 MenuTreeReq struct {
|
||||
g.Meta `path:"/menu/tree" method:"get" tags:"代理商菜单权限" summary:"可分配菜单树" x-check-permission:"cpm:agent:role:query"`
|
||||
}
|
||||
|
||||
type MenuTreeRes struct {
|
||||
Items []*model.SysMenuTreeModel `json:"items"`
|
||||
MenuIds []int64 `json:"menuIds"`
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
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 RoleListReq struct {
|
||||
g.Meta `path:"/role/list" method:"get" tags:"代理商角色权限" summary:"角色权限列表" x-check-permission:"cpm:agent:role:list"`
|
||||
model.AgentRoleListParam
|
||||
}
|
||||
|
||||
type RoleListRes struct {
|
||||
response.PageResult
|
||||
Data []*model.AgentRoleListModel `json:"items"`
|
||||
}
|
||||
|
||||
type RoleViewReq struct {
|
||||
g.Meta `path:"/role/view" method:"get" tags:"代理商角色权限" summary:"角色权限详情" x-check-permission:"cpm:agent:role:query"`
|
||||
RoleId int64 `json:"roleId"`
|
||||
}
|
||||
|
||||
type RoleViewRes struct {
|
||||
model.AgentRoleViewModel
|
||||
}
|
||||
|
||||
type RoleSaveReq struct {
|
||||
g.Meta `path:"/role/save" method:"post" tags:"代理商角色权限" summary:"保存角色权限" x-check-permission:"cpm:agent:role:edit"`
|
||||
model.AgentRoleSaveParam
|
||||
}
|
||||
|
||||
type RoleSaveRes struct {
|
||||
RoleId int64 `json:"roleId"`
|
||||
}
|
||||
|
||||
type RoleDeleteReq struct {
|
||||
g.Meta `path:"/role/delete" method:"post" tags:"代理商角色权限" summary:"删除角色权限" x-check-permission:"cpm:agent:role:remove"`
|
||||
RoleId int64 `json:"roleId"`
|
||||
RoleIds []int64 `json:"roleIds"`
|
||||
}
|
||||
|
||||
type RoleDeleteRes struct{}
|
||||
@@ -0,0 +1,16 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/request"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type ScopeReq struct {
|
||||
g.Meta `path:"/scope" method:"get" tags:"代理商数据范围" summary:"代理商组织范围" x-check-permission:"cpm:agent:dept:list"`
|
||||
}
|
||||
|
||||
type ScopeRes struct {
|
||||
DeptIds []int64 `json:"deptIds"`
|
||||
request.PageInfo
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
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 UserListReq struct {
|
||||
g.Meta `path:"/user/list" method:"get" tags:"代理商用户管理" summary:"下级用户列表" x-check-permission:"cpm:agent:user:list"`
|
||||
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"`
|
||||
}
|
||||
|
||||
type UserViewReq struct {
|
||||
g.Meta `path:"/user/view" method:"get" tags:"代理商用户管理" summary:"下级用户详情" x-check-permission:"cpm:agent:user:query"`
|
||||
UserId int64 `json:"userId"`
|
||||
}
|
||||
|
||||
type UserViewRes struct {
|
||||
model.AgentUserViewModel
|
||||
}
|
||||
|
||||
type UserAddReq struct {
|
||||
g.Meta `path:"/user/add" method:"post" tags:"代理商用户管理" summary:"新增下级用户" x-check-permission:"cpm:agent:user:add"`
|
||||
model.SysUserAddModel
|
||||
}
|
||||
|
||||
type UserAddRes struct {
|
||||
Data *model.AgentUserViewModel `json:"data"`
|
||||
}
|
||||
|
||||
type UserUpdateReq struct {
|
||||
g.Meta `path:"/user/update" method:"post" tags:"代理商用户管理" summary:"修改下级用户" x-check-permission:"cpm:agent:user:edit"`
|
||||
model.SysUserUpdateModel
|
||||
}
|
||||
|
||||
type UserUpdateRes struct {
|
||||
Data *model.AgentUserViewModel `json:"data"`
|
||||
}
|
||||
|
||||
type UserDeleteReq struct {
|
||||
g.Meta `path:"/user/delete" method:"post" tags:"代理商用户管理" summary:"删除下级用户" x-check-permission:"cpm:agent:user:remove"`
|
||||
UserId int64 `json:"userId"`
|
||||
UserIds []int64 `json:"userIds"`
|
||||
}
|
||||
|
||||
type UserDeleteRes struct{}
|
||||
|
||||
type UserResetPasswordReq struct {
|
||||
g.Meta `path:"/user/resetPassword" method:"post" tags:"代理商用户管理" summary:"重置下级用户密码" x-check-permission:"cpm:agent:user:resetPwd"`
|
||||
UserId int64 `json:"userId"`
|
||||
Password string `json:"password"`
|
||||
}
|
||||
|
||||
type UserResetPasswordRes struct{}
|
||||
@@ -0,0 +1,59 @@
|
||||
// Package tagententerprise
|
||||
// @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 //tagententerprise
|
||||
|
||||
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 TAgentEnterpriseListReq struct {
|
||||
g.Meta `path:"/tAgentEnterprise/list" method:"get" tags:"企业客户单位信息" summary:"获取企业客户单位信息列表" x-check-permission:"cpm:agent:tAgentEnterprise:list"`
|
||||
model.TAgentEnterpriseListParam
|
||||
}
|
||||
|
||||
type TAgentEnterpriseListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TAgentEnterpriseListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出企业客户单位信息列表
|
||||
type TAgentEnterpriseExportReq struct {
|
||||
g.Meta `path:"/tAgentEnterprise/export" method:"post" tags:"企业客户单位信息" summary:"导出企业客户单位信息列表" x-check-permission:"cpm:agent:tAgentEnterprise:export"`
|
||||
model.TAgentEnterpriseListParam
|
||||
}
|
||||
|
||||
type TAgentEnterpriseExportRes struct{}
|
||||
|
||||
// ViewReq 获取企业客户单位信息指定信息
|
||||
type TAgentEnterpriseViewReq struct {
|
||||
g.Meta `path:"/tAgentEnterprise/view" method:"get" tags:"企业客户单位信息" summary:"获取企业客户单位信息指定信息" x-check-permission:"cpm:agent:tAgentEnterprise:view"`
|
||||
model.TAgentEnterpriseViewParam
|
||||
}
|
||||
|
||||
type TAgentEnterpriseViewRes struct {
|
||||
*model.TAgentEnterpriseViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增企业客户单位信息
|
||||
type TAgentEnterpriseEditReq struct {
|
||||
g.Meta `path:"/tAgentEnterprise/edit" method:"post" tags:"企业客户单位信息" summary:"修改/新增企业客户单位信息" x-check-permission:"cpm:agent:tAgentEnterprise:edit"`
|
||||
model.TAgentEnterpriseEditParam
|
||||
}
|
||||
|
||||
type TAgentEnterpriseEditRes struct{}
|
||||
|
||||
// DeleteReq 删除企业客户单位信息
|
||||
type TAgentEnterpriseDeleteReq struct {
|
||||
g.Meta `path:"/tAgentEnterprise/delete" method:"post" tags:"企业客户单位信息" summary:"删除企业客户单位信息" x-check-permission:"cpm:agent:tAgentEnterprise:delete"`
|
||||
model.TAgentEnterpriseDeleteParam
|
||||
}
|
||||
|
||||
type TAgentEnterpriseDeleteRes struct{}
|
||||
@@ -0,0 +1,59 @@
|
||||
// Package tapi
|
||||
// @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 //tapi
|
||||
|
||||
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 查询API凭证管理列表
|
||||
type TApiListReq struct {
|
||||
g.Meta `path:"/tApi/list" method:"get" tags:"API凭证管理" summary:"获取API凭证管理列表" x-check-permission:"cpm:agent:tApi:list"`
|
||||
model.TApiListParam
|
||||
}
|
||||
|
||||
type TApiListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TApiListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出API凭证管理列表
|
||||
type TApiExportReq struct {
|
||||
g.Meta `path:"/tApi/export" method:"post" tags:"API凭证管理" summary:"导出API凭证管理列表" x-check-permission:"cpm:agent:tApi:export"`
|
||||
model.TApiListParam
|
||||
}
|
||||
|
||||
type TApiExportRes struct{}
|
||||
|
||||
// ViewReq 获取API凭证管理指定信息
|
||||
type TApiViewReq struct {
|
||||
g.Meta `path:"/tApi/view" method:"get" tags:"API凭证管理" summary:"获取API凭证管理指定信息" x-check-permission:"cpm:agent:tApi:view"`
|
||||
model.TApiViewParam
|
||||
}
|
||||
|
||||
type TApiViewRes struct {
|
||||
*model.TApiViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增API凭证管理
|
||||
type TApiEditReq struct {
|
||||
g.Meta `path:"/tApi/edit" method:"post" tags:"API凭证管理" summary:"修改/新增API凭证管理" x-check-permission:"cpm:agent:tApi:edit"`
|
||||
model.TApiEditParam
|
||||
}
|
||||
|
||||
type TApiEditRes struct{}
|
||||
|
||||
// DeleteReq 删除API凭证管理
|
||||
type TApiDeleteReq struct {
|
||||
g.Meta `path:"/tApi/delete" method:"post" tags:"API凭证管理" summary:"删除API凭证管理" x-check-permission:"cpm:agent:tApi:delete"`
|
||||
model.TApiDeleteParam
|
||||
}
|
||||
|
||||
type TApiDeleteRes struct{}
|
||||
@@ -0,0 +1,55 @@
|
||||
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 TApiGroupListReq struct {
|
||||
g.Meta `path:"/tApiGroup/list" method:"get" tags:"open-api-group" summary:"list open api groups" x-check-permission:"cpm:agent:tApiGroup:list,cpm:gen:tApiGroup:list"`
|
||||
model.TApiGroupListParam
|
||||
}
|
||||
|
||||
type TApiGroupListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TApiGroupListModel `json:"items" dc:"items"`
|
||||
}
|
||||
|
||||
type TApiGroupExportReq struct {
|
||||
g.Meta `path:"/tApiGroup/export" method:"post" tags:"open-api-group" summary:"export open api groups" x-check-permission:"cpm:agent:tApiGroup:export,cpm:gen:tApiGroup:export"`
|
||||
model.TApiGroupListParam
|
||||
}
|
||||
|
||||
type TApiGroupExportRes struct{}
|
||||
|
||||
type TApiGroupViewReq struct {
|
||||
g.Meta `path:"/tApiGroup/view" method:"get" tags:"open-api-group" summary:"view open api group" x-check-permission:"cpm:agent:tApiGroup:view,cpm:gen:tApiGroup:view"`
|
||||
model.TApiGroupViewParam
|
||||
}
|
||||
|
||||
type TApiGroupViewRes struct {
|
||||
*model.TApiGroupViewModel
|
||||
}
|
||||
|
||||
type TApiGroupEditReq struct {
|
||||
g.Meta `path:"/tApiGroup/edit" method:"post" tags:"open-api-group" summary:"edit open api group" x-check-permission:"cpm:agent:tApiGroup:edit,cpm:gen:tApiGroup:edit"`
|
||||
model.TApiGroupEditParam
|
||||
}
|
||||
|
||||
type TApiGroupEditRes struct{}
|
||||
|
||||
type TApiGroupDeleteReq struct {
|
||||
g.Meta `path:"/tApiGroup/delete" method:"post" tags:"open-api-group" summary:"delete open api group" x-check-permission:"cpm:agent:tApiGroup:delete,cpm:gen:tApiGroup:delete"`
|
||||
model.TApiGroupDeleteParam
|
||||
}
|
||||
|
||||
type TApiGroupDeleteRes struct{}
|
||||
|
||||
type TApiGroupStatusReq struct {
|
||||
g.Meta `path:"/tApiGroup/status" method:"post" tags:"open-api-group" summary:"update open api group status" x-check-permission:"cpm:agent:tApiGroup:status,cpm:gen:tApiGroup:status"`
|
||||
model.TApiGroupStatusParam
|
||||
}
|
||||
|
||||
type TApiGroupStatusRes struct{}
|
||||
@@ -0,0 +1,55 @@
|
||||
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 TApiResourceListReq struct {
|
||||
g.Meta `path:"/tApiResource/list" method:"get" tags:"open-api-resource" summary:"list open api resources" x-check-permission:"cpm:agent:tApiResource:list,cpm:gen:tApiResource:list"`
|
||||
model.TApiResourceListParam
|
||||
}
|
||||
|
||||
type TApiResourceListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TApiResourceListModel `json:"items" dc:"items"`
|
||||
}
|
||||
|
||||
type TApiResourceExportReq struct {
|
||||
g.Meta `path:"/tApiResource/export" method:"post" tags:"open-api-resource" summary:"export open api resources" x-check-permission:"cpm:agent:tApiResource:export,cpm:gen:tApiResource:export"`
|
||||
model.TApiResourceListParam
|
||||
}
|
||||
|
||||
type TApiResourceExportRes struct{}
|
||||
|
||||
type TApiResourceViewReq struct {
|
||||
g.Meta `path:"/tApiResource/view" method:"get" tags:"open-api-resource" summary:"view open api resource" x-check-permission:"cpm:agent:tApiResource:view,cpm:gen:tApiResource:view"`
|
||||
model.TApiResourceViewParam
|
||||
}
|
||||
|
||||
type TApiResourceViewRes struct {
|
||||
*model.TApiResourceViewModel
|
||||
}
|
||||
|
||||
type TApiResourceEditReq struct {
|
||||
g.Meta `path:"/tApiResource/edit" method:"post" tags:"open-api-resource" summary:"edit open api resource" x-check-permission:"cpm:agent:tApiResource:edit,cpm:gen:tApiResource:edit"`
|
||||
model.TApiResourceEditParam
|
||||
}
|
||||
|
||||
type TApiResourceEditRes struct{}
|
||||
|
||||
type TApiResourceDeleteReq struct {
|
||||
g.Meta `path:"/tApiResource/delete" method:"post" tags:"open-api-resource" summary:"delete open api resource" x-check-permission:"cpm:agent:tApiResource:delete,cpm:gen:tApiResource:delete"`
|
||||
model.TApiResourceDeleteParam
|
||||
}
|
||||
|
||||
type TApiResourceDeleteRes struct{}
|
||||
|
||||
type TApiResourceStatusReq struct {
|
||||
g.Meta `path:"/tApiResource/status" method:"post" tags:"open-api-resource" summary:"update open api resource status" x-check-permission:"cpm:agent:tApiResource:status,cpm:gen:tApiResource:status"`
|
||||
model.TApiResourceStatusParam
|
||||
}
|
||||
|
||||
type TApiResourceStatusRes struct{}
|
||||
@@ -0,0 +1,67 @@
|
||||
// Package tcustwithdrawaccount
|
||||
// @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 //tcustwithdrawaccount
|
||||
|
||||
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 TCustWithdrawAccountListReq struct {
|
||||
g.Meta `path:"/tCustWithdrawAccount/list" method:"get" tags:"客户提现账户表" summary:"获取客户提现账户表列表" x-check-permission:"cpm:agent:tCustWithdrawAccount:list"`
|
||||
model.TCustWithdrawAccountListParam
|
||||
}
|
||||
|
||||
type TCustWithdrawAccountListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TCustWithdrawAccountListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出客户提现账户表列表
|
||||
type TCustWithdrawAccountExportReq struct {
|
||||
g.Meta `path:"/tCustWithdrawAccount/export" method:"post" tags:"客户提现账户表" summary:"导出客户提现账户表列表" x-check-permission:"cpm:agent:tCustWithdrawAccount:export"`
|
||||
model.TCustWithdrawAccountListParam
|
||||
}
|
||||
|
||||
type TCustWithdrawAccountExportRes struct{}
|
||||
|
||||
// ViewReq 获取客户提现账户表指定信息
|
||||
type TCustWithdrawAccountViewReq struct {
|
||||
g.Meta `path:"/tCustWithdrawAccount/view" method:"get" tags:"客户提现账户表" summary:"获取客户提现账户表指定信息" x-check-permission:"cpm:agent:tCustWithdrawAccount:view"`
|
||||
model.TCustWithdrawAccountViewParam
|
||||
}
|
||||
|
||||
type TCustWithdrawAccountViewRes struct {
|
||||
*model.TCustWithdrawAccountViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增客户提现账户表
|
||||
type TCustWithdrawAccountEditReq struct {
|
||||
g.Meta `path:"/tCustWithdrawAccount/edit" method:"post" tags:"客户提现账户表" summary:"修改/新增客户提现账户表" x-check-permission:"cpm:agent:tCustWithdrawAccount:edit"`
|
||||
model.TCustWithdrawAccountEditParam
|
||||
}
|
||||
|
||||
type TCustWithdrawAccountEditRes struct{}
|
||||
|
||||
// DeleteReq 删除客户提现账户表
|
||||
type TCustWithdrawAccountDeleteReq struct {
|
||||
g.Meta `path:"/tCustWithdrawAccount/delete" method:"post" tags:"客户提现账户表" summary:"删除客户提现账户表" x-check-permission:"cpm:agent:tCustWithdrawAccount:delete"`
|
||||
model.TCustWithdrawAccountDeleteParam
|
||||
}
|
||||
|
||||
type TCustWithdrawAccountDeleteRes struct{}
|
||||
|
||||
// StatusReq 更新客户提现账户表状态
|
||||
type TCustWithdrawAccountStatusReq struct {
|
||||
g.Meta `path:"/tCustWithdrawAccount/status" method:"post" tags:"客户提现账户表" summary:"更新客户提现账户表状态" x-check-permission:"cpm:agent:tCustWithdrawAccount:status"`
|
||||
model.TCustWithdrawAccountStatusParam
|
||||
}
|
||||
|
||||
type TCustWithdrawAccountStatusRes struct{}
|
||||
@@ -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{}
|
||||
@@ -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{}
|
||||
@@ -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
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package testdemo
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/api/gen/testdemo/v1"
|
||||
)
|
||||
|
||||
type ITestdemoV1 interface {
|
||||
TestDemoList(ctx context.Context, req *v1.TestDemoListReq) (res *v1.TestDemoListRes, err error)
|
||||
TestDemoExport(ctx context.Context, req *v1.TestDemoExportReq) (res *v1.TestDemoExportRes, err error)
|
||||
TestDemoView(ctx context.Context, req *v1.TestDemoViewReq) (res *v1.TestDemoViewRes, err error)
|
||||
TestDemoEdit(ctx context.Context, req *v1.TestDemoEditReq) (res *v1.TestDemoEditRes, err error)
|
||||
TestDemoDelete(ctx context.Context, req *v1.TestDemoDeleteReq) (res *v1.TestDemoDeleteRes, err error)
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
// Package testdemo
|
||||
// @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
|
||||
// @AutoGenerate Version
|
||||
package v1 //testdemo
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/genin"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// ListReq 查询测试单表列表
|
||||
type TestDemoListReq struct {
|
||||
g.Meta `path:"/testDemo/list" method:"get" tags:"测试单表" summary:"获取测试单表列表" x-check-permission:"cpm:gen:testDemo:list"`
|
||||
genin.TestDemoListParam
|
||||
}
|
||||
|
||||
type TestDemoListRes struct {
|
||||
response.PageResult
|
||||
Items []*genin.TestDemoListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出测试单表列表
|
||||
type TestDemoExportReq struct {
|
||||
g.Meta `path:"/testDemo/export" method:"post" tags:"测试单表" summary:"导出测试单表列表" x-check-permission:"cpm:gen:testDemo:export"`
|
||||
genin.TestDemoListParam
|
||||
}
|
||||
|
||||
type TestDemoExportRes struct{}
|
||||
|
||||
// ViewReq 获取测试单表指定信息
|
||||
type TestDemoViewReq struct {
|
||||
g.Meta `path:"/testDemo/view" method:"get" tags:"测试单表" summary:"获取测试单表指定信息" x-check-permission:"cpm:gen:testDemo:view"`
|
||||
genin.TestDemoViewParam
|
||||
}
|
||||
|
||||
type TestDemoViewRes struct {
|
||||
*genin.TestDemoViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增测试单表
|
||||
type TestDemoEditReq struct {
|
||||
g.Meta `path:"/testDemo/edit" method:"post" tags:"测试单表" summary:"修改/新增测试单表" x-check-permission:"cpm:gen:testDemo:edit"`
|
||||
genin.TestDemoEditParam
|
||||
}
|
||||
|
||||
type TestDemoEditRes struct{}
|
||||
|
||||
// DeleteReq 删除测试单表
|
||||
type TestDemoDeleteReq struct {
|
||||
g.Meta `path:"/testDemo/delete" method:"post" tags:"测试单表" summary:"删除测试单表" x-check-permission:"cpm:gen:testDemo:delete"`
|
||||
genin.TestDemoDeleteParam
|
||||
}
|
||||
|
||||
type TestDemoDeleteRes struct{}
|
||||
@@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package gen_codes
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/api/gen_codes/v1"
|
||||
)
|
||||
|
||||
type IGenCodesV1 interface {
|
||||
SysGenTableList(ctx context.Context, req *v1.SysGenTableListReq) (res *v1.SysGenTableListRes, err error)
|
||||
SysGenTableView(ctx context.Context, req *v1.SysGenTableViewReq) (res *v1.SysGenTableViewRes, err error)
|
||||
SysGenTableAdd(ctx context.Context, req *v1.SysGenTableAddReq) (res *v1.SysGenTableAddRes, err error)
|
||||
SysGenTableEdit(ctx context.Context, req *v1.SysGenTableEditReq) (res *v1.SysGenTableEditRes, err error)
|
||||
SysGenTableDelete(ctx context.Context, req *v1.SysGenTableDeleteReq) (res *v1.SysGenTableDeleteRes, err error)
|
||||
SysGenTableSelects(ctx context.Context, req *v1.SysGenTableSelectsReq) (res *v1.SysGenTableSelectsRes, err error)
|
||||
SysGenTableTableSelect(ctx context.Context, req *v1.SysGenTableTableSelectReq) (res *v1.SysGenTableTableSelectRes, err error)
|
||||
SysGenTableColumnSelect(ctx context.Context, req *v1.SysGenTableColumnSelectReq) (res *v1.SysGenTableColumnSelectRes, err error)
|
||||
SysGenTableColumnList(ctx context.Context, req *v1.SysGenTableColumnListReq) (res *v1.SysGenTableColumnListRes, err error)
|
||||
SysGenTablePreview(ctx context.Context, req *v1.SysGenTablePreviewReq) (res *v1.SysGenTablePreviewRes, err error)
|
||||
SysGenTableBuild(ctx context.Context, req *v1.SysGenTableBuildReq) (res *v1.SysGenTableBuildRes, err error)
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type SysGenTableListReq struct {
|
||||
g.Meta `path:"/genTable/list" method:"get" tags:"工具-代码生成" summary:"获取代码生成列表" x-check-permission:"cpm:tool:gen:list"`
|
||||
*model.SysGenTableListParam
|
||||
}
|
||||
|
||||
type SysGenTableListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.SysGenTableListModel `json:"items"`
|
||||
}
|
||||
|
||||
type SysGenTableViewReq struct {
|
||||
g.Meta `path:"/genTable/view" method:"get" tags:"工具-代码生成" summary:"获取代码生成详情" x-check-permission:"cpm:tool:gen:query"`
|
||||
*model.SysGenTableViewParam
|
||||
}
|
||||
|
||||
type SysGenTableViewRes struct {
|
||||
*model.SysGenTableViewModel
|
||||
}
|
||||
|
||||
type SysGenTableAddReq struct {
|
||||
g.Meta `path:"/genTable/add" method:"post" tags:"工具-代码生成" summary:"新增代码生成" x-check-permission:"cpm:tool:gen:import"`
|
||||
*model.SysGenTableAddParam
|
||||
}
|
||||
|
||||
type SysGenTableAddRes struct {
|
||||
*model.SysGenTableAddModel
|
||||
}
|
||||
|
||||
type SysGenTableEditReq struct {
|
||||
g.Meta `path:"/genTable/edit" method:"post" tags:"工具-代码生成" summary:"修改代码生成" x-check-permission:"cpm:tool:gen:edit"`
|
||||
*model.SysGenTableEditParam
|
||||
}
|
||||
|
||||
type SysGenTableEditRes struct {
|
||||
*model.SysGenTableEditModel
|
||||
}
|
||||
|
||||
type SysGenTableDeleteReq struct {
|
||||
g.Meta `path:"/genTable/delete" method:"post" tags:"工具-代码生成" summary:"删除代码生成" x-check-permission:"cpm:tool:gen:remove"`
|
||||
*model.SysGenTableDeleteParam
|
||||
}
|
||||
|
||||
type SysGenTableDeleteRes struct {
|
||||
*model.SysGenTableDeleteModel
|
||||
}
|
||||
|
||||
type SysGenTableSelectsReq struct {
|
||||
g.Meta `path:"/genTable/selects" method:"get" tags:"工具-代码生成" summary:"获取代码生成选择项" x-check-permission:"cpm:tool:gen:list"`
|
||||
}
|
||||
|
||||
type SysGenTableSelectsRes struct {
|
||||
*model.SelectsModel
|
||||
}
|
||||
|
||||
type SysGenTableTableSelectReq struct {
|
||||
g.Meta `path:"/genTable/tableSelect" method:"get" tags:"工具-代码生成" summary:"获取代码生成表选择项" x-check-permission:"cpm:tool:gen:list"`
|
||||
*model.GenCodesTableSelectParam
|
||||
}
|
||||
|
||||
type SysGenTableTableSelectRes struct {
|
||||
Items []*model.GenCodesTableSelectModel `json:"items"`
|
||||
}
|
||||
|
||||
type SysGenTableColumnSelectReq struct {
|
||||
g.Meta `path:"/genTable/columnSelect" method:"get" tags:"工具-代码生成" summary:"获取代码生成字段选择项" x-check-permission:"cpm:tool:gen:list"`
|
||||
*model.GenCodesColumnSelectParam
|
||||
}
|
||||
|
||||
type SysGenTableColumnSelectRes struct {
|
||||
Items []*model.GenCodesColumnSelectModel `json:"items"`
|
||||
}
|
||||
|
||||
type SysGenTableColumnListReq struct {
|
||||
g.Meta `path:"/genTable/columnList" method:"get" tags:"工具-代码生成" summary:"获取代码生成字段列表" x-check-permission:"cpm:tool:gen:list"`
|
||||
*model.GenCodesColumnListParam
|
||||
}
|
||||
|
||||
type SysGenTableColumnListRes struct {
|
||||
Items []*model.GenCodesColumnListModel `json:"items"`
|
||||
}
|
||||
|
||||
type SysGenTablePreviewReq struct {
|
||||
g.Meta `path:"/genTable/preview" method:"post" tags:"工具-代码生成" summary:"生成预览" x-check-permission:"cpm:tool:gen:preview"`
|
||||
*model.GenCodesPreviewParam
|
||||
}
|
||||
|
||||
type SysGenTablePreviewRes struct {
|
||||
*model.GenCodesPreviewModel
|
||||
}
|
||||
|
||||
type SysGenTableBuildReq struct {
|
||||
g.Meta `path:"/genTable/build" method:"post" tags:"工具-代码生成" summary:"构建" x-check-permission:"cpm:tool:gen:code"`
|
||||
*model.GenCodesBuildParam
|
||||
}
|
||||
|
||||
type SysGenTableBuildRes struct {
|
||||
*model.GenCodesBuildModel
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package home
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/api/home/v1"
|
||||
)
|
||||
|
||||
type IHomeV1 interface {
|
||||
CardStatistics(ctx context.Context, req *v1.CardStatisticsReq) (res *v1.CardStatisticsRes, err error)
|
||||
CardStatusStatistics(ctx context.Context, req *v1.CardStatusStatisticsReq) (res *v1.CardStatusStatisticsRes, err error)
|
||||
TopUsageCards(ctx context.Context, req *v1.TopUsageCardsReq) (res *v1.TopUsageCardsRes, err error)
|
||||
FlowUsageChart(ctx context.Context, req *v1.FlowUsageChartReq) (res *v1.FlowUsageChartRes, err error)
|
||||
FlowPoolUsage(ctx context.Context, req *v1.FlowPoolUsageReq) (res *v1.FlowPoolUsageRes, err error)
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
// 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 CardStatisticsReq struct {
|
||||
g.Meta `path:"/cardStatistics" method:"get" tags:"首页统计" summary:"获取卡片数据统计"`
|
||||
}
|
||||
|
||||
type CardStatisticsRes struct {
|
||||
model.CardStatistics
|
||||
}
|
||||
|
||||
type CardStatusStatisticsReq struct {
|
||||
g.Meta `path:"/cardStatusStatistics" method:"get" tags:"首页统计" summary:"获取卡状态统计"`
|
||||
}
|
||||
|
||||
type CardStatusStatisticsRes struct {
|
||||
model.CardStatusStatistics
|
||||
}
|
||||
|
||||
type TopUsageCardsReq struct {
|
||||
g.Meta `path:"/topUsageCards" method:"get" tags:"首页统计" summary:"获取前一天流量使用前五名的卡片"`
|
||||
}
|
||||
|
||||
type TopUsageCardsRes struct {
|
||||
Data []model.TopUsageCard `json:"data"`
|
||||
}
|
||||
|
||||
type FlowUsageChartReq struct {
|
||||
g.Meta `path:"/flowUsageChart" method:"get" tags:"首页统计" summary:"获取流量使用图表数据"`
|
||||
Period string `json:"period" dc:"时间周期: 7d前7天, 1m前6个月" v:"required|in:7d,1m"`
|
||||
}
|
||||
|
||||
type FlowUsageChartRes struct {
|
||||
model.FlowUsageChartData
|
||||
}
|
||||
|
||||
type FlowPoolUsageReq struct {
|
||||
g.Meta `path:"/flowPoolUsage" method:"get" tags:"首页统计" summary:"获取流量池流量使用情况"`
|
||||
}
|
||||
|
||||
type FlowPoolUsageRes struct {
|
||||
Data []model.FlowPoolUsageItem `json:"data"`
|
||||
}
|
||||
@@ -0,0 +1,202 @@
|
||||
// =================================================================================
|
||||
// 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)
|
||||
SimCardBaseQueryTemplate(ctx context.Context, req *v1.SimCardBaseQueryTemplateReq) (res *v1.SimCardBaseQueryTemplateRes, err error)
|
||||
SimCardBaseQueryColumns(ctx context.Context, req *v1.SimCardBaseQueryColumnsReq) (res *v1.SimCardBaseQueryColumnsRes, err error)
|
||||
SimCardBaseQueryExport(ctx context.Context, req *v1.SimCardBaseQueryExportReq) (res *v1.SimCardBaseQueryExportRes, err error)
|
||||
SimCardUsageHistoryTemplate(ctx context.Context, req *v1.SimCardUsageHistoryTemplateReq) (res *v1.SimCardUsageHistoryTemplateRes, err error)
|
||||
SimCardUsageHistoryColumns(ctx context.Context, req *v1.SimCardUsageHistoryColumnsReq) (res *v1.SimCardUsageHistoryColumnsRes, err error)
|
||||
SimCardUsageHistoryDeptOptions(ctx context.Context, req *v1.SimCardUsageHistoryDeptOptionsReq) (res *v1.SimCardUsageHistoryDeptOptionsRes, err error)
|
||||
SimCardUsageHistoryExport(ctx context.Context, req *v1.SimCardUsageHistoryExportReq) (res *v1.SimCardUsageHistoryExportRes, 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,77 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// 卡基础信息查询
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
type SimCardBaseQueryTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardBaseQuery/template" method:"get" tags:"卡基础信息查询" summary:"下载卡基础信息查询Excel模板" x-check-permission:"cpm:iot:tSimCardBaseQuery:view"`
|
||||
}
|
||||
|
||||
type SimCardBaseQueryTemplateRes struct{}
|
||||
|
||||
type SimCardBaseQueryColumnsReq struct {
|
||||
g.Meta `path:"/tSimCardBaseQuery/columns" method:"get" tags:"卡基础信息查询" summary:"卡基础信息查询可选导出列" x-check-permission:"cpm:iot:tSimCardBaseQuery:view"`
|
||||
}
|
||||
|
||||
type SimCardBaseQueryColumnsRes struct {
|
||||
Items []model.ExportColumn `json:"items" dc:"可选导出列"`
|
||||
}
|
||||
|
||||
// SimCardBaseQueryExportReq 提交卡基础信息查询导出。
|
||||
// Excel 模式上传 file;批量输入填 batchInput;连号填 dimension/startNum/endNum。
|
||||
type SimCardBaseQueryExportReq struct {
|
||||
g.Meta `path:"/tSimCardBaseQuery/export" method:"post" tags:"卡基础信息查询" summary:"提交卡基础信息查询导出" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardBaseQuery:view"`
|
||||
model.SimCardQueryExportParam
|
||||
}
|
||||
|
||||
type SimCardBaseQueryExportRes struct {
|
||||
*model.SimCardQuerySubmitRes
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// 月历史用量查询
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
type SimCardUsageHistoryTemplateReq struct {
|
||||
g.Meta `path:"/tSimCardUsageHistory/template" method:"get" tags:"月历史用量查询" summary:"下载月历史用量查询Excel模板" x-check-permission:"cpm:iot:tSimCardUsageHistory:view"`
|
||||
}
|
||||
|
||||
type SimCardUsageHistoryTemplateRes struct{}
|
||||
|
||||
type SimCardUsageHistoryColumnsReq struct {
|
||||
g.Meta `path:"/tSimCardUsageHistory/columns" method:"get" tags:"月历史用量查询" summary:"月历史用量查询可选列与月份清单" x-check-permission:"cpm:iot:tSimCardUsageHistory:view"`
|
||||
}
|
||||
|
||||
type SimCardUsageHistoryColumnsRes struct {
|
||||
Items []model.ExportColumn `json:"items" dc:"可选固定列"`
|
||||
Months []string `json:"months" dc:"近12个月月份清单,顺序即导出列顺序"`
|
||||
}
|
||||
|
||||
// SimCardUsageHistoryDeptOptionsReq 所属公司下拉,展示范围由数据权限决定。
|
||||
type SimCardUsageHistoryDeptOptionsReq struct {
|
||||
g.Meta `path:"/tSimCardUsageHistory/deptOptions" method:"get" tags:"月历史用量查询" summary:"月历史用量查询可选公司" x-check-permission:"cpm:iot:tSimCardUsageHistory:view"`
|
||||
}
|
||||
|
||||
type SimCardUsageHistoryDeptOptionsRes struct {
|
||||
Items []*model.SimCardQueryDeptOption `json:"items" dc:"可选公司"`
|
||||
// CurrentDeptId 当前登录用户所属部门,前端用于把公司下拉默认指向本企业。
|
||||
CurrentDeptId int64 `json:"currentDeptId" dc:"当前用户所属部门ID"`
|
||||
}
|
||||
|
||||
// SimCardUsageHistoryExportReq 提交月历史用量查询导出。
|
||||
// 比卡基础信息查询多一个 dept 模式:按所属公司整批导出。
|
||||
type SimCardUsageHistoryExportReq struct {
|
||||
g.Meta `path:"/tSimCardUsageHistory/export" method:"post" tags:"月历史用量查询" summary:"提交月历史用量查询导出" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardUsageHistory:view"`
|
||||
model.SimCardUsageHistoryExportParam
|
||||
}
|
||||
|
||||
type SimCardUsageHistoryExportRes struct {
|
||||
*model.SimCardQuerySubmitRes
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
// Package torder
|
||||
// @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
|
||||
|
||||
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 <xxx@example.com>
|
||||
// @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 <xxx@example.com>
|
||||
// @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,50 @@
|
||||
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 {
|
||||
MaxInputRows int `json:"maxInputRows" dc:"单次批量输入条数上限"`
|
||||
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 <xxx@example.com>
|
||||
// @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,post" 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 <xxx@example.com>
|
||||
// @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 <xxx@example.com>
|
||||
// @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 <xxx@example.com>
|
||||
// @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 <xxx@example.com>
|
||||
// @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 <xxx@example.com>
|
||||
// @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 <xxx@example.com>
|
||||
// @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 <xxx@example.com>
|
||||
// @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 <xxx@example.com>
|
||||
// @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 <xxx@example.com>
|
||||
// @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 <xxx@example.com>
|
||||
// @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,cpm:iot:tSimPoolWarnConfig: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,cpm:iot:tSimPoolWarnConfig: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,cpm:iot:tSimPoolWarnConfig: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,cpm:iot:tSimPoolWarnConfig: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,cpm:iot:tSimPoolWarnConfig:range:submit"`
|
||||
model.TSimWarningConfigRangeSubmitParam
|
||||
}
|
||||
|
||||
type TSimWarningConfigRangeSubmitRes struct {
|
||||
*model.TSimWarningConfigRangeSubmitRes
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package monitor
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/api/monitor/v1"
|
||||
)
|
||||
|
||||
type IMonitorV1 interface {
|
||||
RedisInfo(ctx context.Context, req *v1.RedisInfoReq) (res *v1.RedisInfoRes, err error)
|
||||
MemoryDBRebuild(ctx context.Context, req *v1.MemoryDBRebuildReq) (res *v1.MemoryDBRebuildRes, err error)
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// 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 (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type RedisInfoReq struct {
|
||||
g.Meta `path:"/cache" method:"get" tags:"监控-缓存监控" summary:"获取缓存监控信息" x-check-permission:"cpm:monitor:cache:list"`
|
||||
}
|
||||
|
||||
type RedisInfoRes struct {
|
||||
DBSize int `json:"dbSize"`
|
||||
CommandStats []*CommandStats `json:"commandStats"`
|
||||
Info map[string]string `json:"info"`
|
||||
}
|
||||
|
||||
type CommandStats struct {
|
||||
Name string `json:"name"`
|
||||
Value string `json:"value"`
|
||||
}
|
||||
|
||||
type MemoryDBRebuildReq struct {
|
||||
g.Meta `path:"/cache/memory/rebuild" method:"post" tags:"监控-缓存监控" summary:"重建系统内存缓存" x-check-permission:"cpr:superadmin"`
|
||||
}
|
||||
|
||||
type MemoryDBRebuildRes struct {
|
||||
Tables int `json:"tables"`
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package pay
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/api/pay/v1"
|
||||
)
|
||||
|
||||
type IPayV1 interface {
|
||||
AlipayPay(ctx context.Context, req *v1.AlipayPayReq) (res *v1.AlipayPayRes, err error)
|
||||
AlipayNotify(ctx context.Context, req *v1.AlipayNotifyReq) (res *v1.AlipayNotifyRes, err error)
|
||||
AlipayReturn(ctx context.Context, req *v1.AlipayReturnReq) (res *v1.AlipayReturnRes, err error)
|
||||
AlipayTradeQuery(ctx context.Context, req *v1.AlipayTradeQueryReq) (res *v1.AlipayTradeQueryRes, err error)
|
||||
AlipayRefund(ctx context.Context, req *v1.AlipayRefundReq) (res *v1.AlipayRefundRes, err error)
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type AlipayPayReq struct {
|
||||
g.Meta `path:"/alipay/pay" method:"get,post" tags:"支付宝支付" summary:"创建支付宝支付链接" x-check-permission:"cpc:current:user"`
|
||||
model.AlipayPayInput
|
||||
}
|
||||
|
||||
type AlipayPayRes struct {
|
||||
model.AlipayPayOutput
|
||||
}
|
||||
|
||||
type AlipayNotifyReq struct {
|
||||
g.Meta `path:"/alipay/notify" method:"post" tags:"支付宝支付" summary:"支付宝异步通知"`
|
||||
model.AlipayNotifyInput
|
||||
}
|
||||
|
||||
type AlipayNotifyRes struct {
|
||||
model.AlipayNotifyOutput
|
||||
}
|
||||
|
||||
type AlipayReturnReq struct {
|
||||
g.Meta `path:"/alipay/return" method:"get" tags:"支付宝支付" summary:"支付宝同步回跳"`
|
||||
model.AlipayReturnInput
|
||||
}
|
||||
|
||||
type AlipayReturnRes struct {
|
||||
model.AlipayReturnOutput
|
||||
}
|
||||
|
||||
type AlipayTradeQueryReq struct {
|
||||
g.Meta `path:"/alipay/query" method:"get" tags:"支付宝支付" summary:"查询支付宝交易" x-check-permission:"cpc:current:user"`
|
||||
model.AlipayTradeQueryInput
|
||||
}
|
||||
|
||||
type AlipayTradeQueryRes struct {
|
||||
model.AlipayTradeQueryOutput
|
||||
}
|
||||
|
||||
type AlipayRefundReq struct {
|
||||
g.Meta `path:"/alipay/refund" method:"post" tags:"支付宝支付" summary:"支付宝退款" x-check-permission:"cpc:current:user"`
|
||||
model.AlipayRefundInput
|
||||
}
|
||||
|
||||
type AlipayRefundRes struct {
|
||||
model.AlipayRefundOutput
|
||||
}
|
||||
@@ -0,0 +1,151 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package system
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/api/system/v1"
|
||||
)
|
||||
|
||||
type ISystemV1 interface {
|
||||
Login(ctx context.Context, req *v1.LoginReq) (res *v1.LoginRes, err error)
|
||||
SendSmsLoginCode(ctx context.Context, req *v1.SendSmsLoginCodeReq) (res *v1.SendSmsLoginCodeRes, err error)
|
||||
SmsLogin(ctx context.Context, req *v1.SmsLoginReq) (res *v1.SmsLoginRes, err error)
|
||||
RefreshToken(ctx context.Context, req *v1.RefreshTokenReq) (res *v1.RefreshTokenRes, err error)
|
||||
Logout(ctx context.Context, req *v1.LogoutReq) (res *v1.LogoutRes, err error)
|
||||
GetAccessCodes(ctx context.Context, req *v1.GetAccessCodesReq) (res *v1.GetAccessCodesRes, err error)
|
||||
TenantList(ctx context.Context, req *v1.TenantListReq) (res *v1.TenantListRes, err error)
|
||||
GetCaptcha(ctx context.Context, req *v1.GetCaptchaReq) (res *v1.GetCaptchaRes, err error)
|
||||
SysClientList(ctx context.Context, req *v1.SysClientListReq) (res *v1.SysClientListRes, err error)
|
||||
SysClientView(ctx context.Context, req *v1.SysClientViewReq) (res *v1.SysClientViewRes, err error)
|
||||
SysClientAdd(ctx context.Context, req *v1.SysClientAddReq) (res *v1.SysClientAddRes, err error)
|
||||
SysClientEdit(ctx context.Context, req *v1.SysClientEditReq) (res *v1.SysClientEditRes, err error)
|
||||
SysClientDelete(ctx context.Context, req *v1.SysClientDeleteReq) (res *v1.SysClientDeleteRes, err error)
|
||||
SysClientStatus(ctx context.Context, req *v1.SysClientStatusReq) (res *v1.SysClientStatusRes, err error)
|
||||
GetConfigList(ctx context.Context, req *v1.GetConfigListReq) (res *v1.GetConfigListRes, err error)
|
||||
AddConfig(ctx context.Context, req *v1.AddConfigReq) (res *v1.AddConfigRes, err error)
|
||||
EditConfig(ctx context.Context, req *v1.EditConfigReq) (res *v1.EditConfigRes, err error)
|
||||
DeleteConfig(ctx context.Context, req *v1.DeleteConfigReq) (res *v1.DeleteConfigRes, err error)
|
||||
GetConfigById(ctx context.Context, req *v1.GetConfigByIdReq) (res *v1.GetConfigByIdRes, err error)
|
||||
DeptList(ctx context.Context, req *v1.DeptListReq) (res *v1.DeptListRes, err error)
|
||||
DeptTree(ctx context.Context, req *v1.DeptTreeReq) (res *v1.DeptTreeRes, err error)
|
||||
DeptFullTree(ctx context.Context, req *v1.DeptFullTreeReq) (res *v1.DeptFullTreeRes, err error)
|
||||
DeptAdd(ctx context.Context, req *v1.DeptAddReq) (res *v1.DeptAddRes, err error)
|
||||
DeptEdit(ctx context.Context, req *v1.DeptEditReq) (res *v1.DeptEditRes, err error)
|
||||
DeptDelete(ctx context.Context, req *v1.DeptDeleteReq) (res *v1.DeptDeleteRes, err error)
|
||||
DeptView(ctx context.Context, req *v1.DeptViewReq) (res *v1.DeptViewRes, err error)
|
||||
SysDictTypeList(ctx context.Context, req *v1.SysDictTypeListReq) (res *v1.SysDictTypeListRes, err error)
|
||||
SysDictTypeAdd(ctx context.Context, req *v1.SysDictTypeAddReq) (res *v1.SysDictTypeAddRes, err error)
|
||||
SysDictTypeEdit(ctx context.Context, req *v1.SysDictTypeEditReq) (res *v1.SysDictTypeEditRes, err error)
|
||||
SysDictTypeDelete(ctx context.Context, req *v1.SysDictTypeDeleteReq) (res *v1.SysDictTypeDeleteRes, err error)
|
||||
SysDictTypeView(ctx context.Context, req *v1.SysDictTypeViewReq) (res *v1.SysDictTypeViewRes, err error)
|
||||
SysDictDataList(ctx context.Context, req *v1.SysDictDataListReq) (res *v1.SysDictDataListRes, err error)
|
||||
SysDictDataAdd(ctx context.Context, req *v1.SysDictDataAddReq) (res *v1.SysDictDataAddRes, err error)
|
||||
SysDictDataEdit(ctx context.Context, req *v1.SysDictDataEditReq) (res *v1.SysDictDataEditRes, err error)
|
||||
SysDictDataDelete(ctx context.Context, req *v1.SysDictDataDeleteReq) (res *v1.SysDictDataDeleteRes, err error)
|
||||
SysDictDataView(ctx context.Context, req *v1.SysDictDataViewReq) (res *v1.SysDictDataViewRes, err error)
|
||||
SysJobList(ctx context.Context, req *v1.SysJobListReq) (res *v1.SysJobListRes, err error)
|
||||
SysJobView(ctx context.Context, req *v1.SysJobViewReq) (res *v1.SysJobViewRes, err error)
|
||||
SysJobAdd(ctx context.Context, req *v1.SysJobAddReq) (res *v1.SysJobAddRes, err error)
|
||||
SysJobUpdate(ctx context.Context, req *v1.SysJobUpdateReq) (res *v1.SysJobUpdateRes, err error)
|
||||
SysJobUpdateStatus(ctx context.Context, req *v1.SysJobUpdateStatusReq) (res *v1.SysJobUpdateStatusRes, err error)
|
||||
SysJobDelete(ctx context.Context, req *v1.SysJobDeleteReq) (res *v1.SysJobDeleteRes, err error)
|
||||
SysJobExec(ctx context.Context, req *v1.SysJobExecReq) (res *v1.SysJobExecRes, err error)
|
||||
ListLogininfor(ctx context.Context, req *v1.ListLogininforReq) (res *v1.ListLogininforRes, err error)
|
||||
DeleteLogininfor(ctx context.Context, req *v1.DeleteLogininforReq) (res *v1.DeleteLogininforRes, err error)
|
||||
MenuAll(ctx context.Context, req *v1.MenuAllReq) (res *v1.MenuAllRes, err error)
|
||||
MenuList(ctx context.Context, req *v1.MenuListReq) (res *v1.MenuListRes, err error)
|
||||
MenuView(ctx context.Context, req *v1.MenuViewReq) (res *v1.MenuViewRes, err error)
|
||||
MenuAdd(ctx context.Context, req *v1.MenuAddReq) (res *v1.MenuAddRes, err error)
|
||||
MenuUpdate(ctx context.Context, req *v1.MenuUpdateReq) (res *v1.MenuUpdateRes, err error)
|
||||
MenuDelete(ctx context.Context, req *v1.MenuDeleteReq) (res *v1.MenuDeleteRes, err error)
|
||||
MenuTree(ctx context.Context, req *v1.MenuTreeReq) (res *v1.MenuTreeRes, err error)
|
||||
SysNoticeList(ctx context.Context, req *v1.SysNoticeListReq) (res *v1.SysNoticeListRes, err error)
|
||||
SysNoticeAdd(ctx context.Context, req *v1.SysNoticeAddReq) (res *v1.SysNoticeAddRes, err error)
|
||||
SysNoticeEdit(ctx context.Context, req *v1.SysNoticeEditReq) (res *v1.SysNoticeEditRes, err error)
|
||||
SysNoticeDelete(ctx context.Context, req *v1.SysNoticeDeleteReq) (res *v1.SysNoticeDeleteRes, err error)
|
||||
SysNoticeView(ctx context.Context, req *v1.SysNoticeViewReq) (res *v1.SysNoticeViewRes, err error)
|
||||
SysUserOnlineList(ctx context.Context, req *v1.SysUserOnlineListReq) (res *v1.SysUserOnlineListRes, err error)
|
||||
SysUserOnlineDelete(ctx context.Context, req *v1.SysUserOnlineDeleteReq) (res *v1.SysUserOnlineDeleteRes, err error)
|
||||
GetOperLogList(ctx context.Context, req *v1.GetOperLogListReq) (res *v1.GetOperLogListRes, err error)
|
||||
SysOssList(ctx context.Context, req *v1.SysOssListReq) (res *v1.SysOssListRes, err error)
|
||||
SysOssView(ctx context.Context, req *v1.SysOssViewReq) (res *v1.SysOssViewRes, err error)
|
||||
SysOssDelete(ctx context.Context, req *v1.SysOssDeleteReq) (res *v1.SysOssDeleteRes, err error)
|
||||
SysOssConfigList(ctx context.Context, req *v1.SysOssConfigListReq) (res *v1.SysOssConfigListRes, err error)
|
||||
SysOssConfigView(ctx context.Context, req *v1.SysOssConfigViewReq) (res *v1.SysOssConfigViewRes, err error)
|
||||
SysOssConfigAdd(ctx context.Context, req *v1.SysOssConfigAddReq) (res *v1.SysOssConfigAddRes, err error)
|
||||
SysOssConfigEdit(ctx context.Context, req *v1.SysOssConfigEditReq) (res *v1.SysOssConfigEditRes, err error)
|
||||
SysOssConfigDelete(ctx context.Context, req *v1.SysOssConfigDeleteReq) (res *v1.SysOssConfigDeleteRes, err error)
|
||||
PostList(ctx context.Context, req *v1.PostListReq) (res *v1.PostListRes, err error)
|
||||
PostAdd(ctx context.Context, req *v1.PostAddReq) (res *v1.PostAddRes, err error)
|
||||
PostEdit(ctx context.Context, req *v1.PostEditReq) (res *v1.PostEditRes, err error)
|
||||
PostDelete(ctx context.Context, req *v1.PostDeleteReq) (res *v1.PostDeleteRes, err error)
|
||||
PostView(ctx context.Context, req *v1.PostViewReq) (res *v1.PostViewRes, err error)
|
||||
PostExport(ctx context.Context, req *v1.PostExportReq) (res *v1.PostExportRes, err error)
|
||||
QrcodeLogin(ctx context.Context, req *v1.QrcodeLoginReq) (res *v1.QrcodeLoginRes, err error)
|
||||
QrcodeLoginStatus(ctx context.Context, req *v1.QrcodeLoginStatusReq) (res *v1.QrcodeLoginStatusRes, err error)
|
||||
QrcodeBind(ctx context.Context, req *v1.QrcodeBindReq) (res *v1.QrcodeBindRes, err error)
|
||||
QrcodeBindStatus(ctx context.Context, req *v1.QrcodeBindStatusReq) (res *v1.QrcodeBindStatusRes, err error)
|
||||
QrcodeScanCallback(ctx context.Context, req *v1.QrcodeScanCallbackReq) (res *v1.QrcodeScanCallbackRes, err error)
|
||||
QrcodeRegisterAndBindOpenId(ctx context.Context, req *v1.QrcodeRegisterAndBindOpenIdReq) (res *v1.QrcodeRegisterAndBindOpenIdRes, err error)
|
||||
QrcodeLoginAndBindOpenId(ctx context.Context, req *v1.QrcodeLoginAndBindOpenIdReq) (res *v1.QrcodeLoginAndBindOpenIdRes, err error)
|
||||
QrcodeLoginSelectUser(ctx context.Context, req *v1.QrcodeLoginSelectUserReq) (res *v1.QrcodeLoginSelectUserRes, err error)
|
||||
RoleList(ctx context.Context, req *v1.RoleListReq) (res *v1.RoleListRes, err error)
|
||||
RoleAdd(ctx context.Context, req *v1.RoleAddReq) (res *v1.RoleAddRes, err error)
|
||||
RoleEdit(ctx context.Context, req *v1.RoleEditReq) (res *v1.RoleEditRes, err error)
|
||||
RoleDelete(ctx context.Context, req *v1.RoleDeleteReq) (res *v1.RoleDeleteRes, err error)
|
||||
RoleView(ctx context.Context, req *v1.RoleViewReq) (res *v1.RoleViewRes, err error)
|
||||
RoleDataScopeEdit(ctx context.Context, req *v1.RoleDataScopeEditReq) (res *v1.RoleDataScopeEditRes, err error)
|
||||
SysSocialList(ctx context.Context, req *v1.SysSocialListReq) (res *v1.SysSocialListRes, err error)
|
||||
SysSocialDelete(ctx context.Context, req *v1.SysSocialDeleteReq) (res *v1.SysSocialDeleteRes, err error)
|
||||
SysNoticeUserList(ctx context.Context, req *v1.SysNoticeUserListReq) (res *v1.SysNoticeUserListRes, err error)
|
||||
SysNoticeUserExport(ctx context.Context, req *v1.SysNoticeUserExportReq) (res *v1.SysNoticeUserExportRes, err error)
|
||||
SysNoticeUserView(ctx context.Context, req *v1.SysNoticeUserViewReq) (res *v1.SysNoticeUserViewRes, err error)
|
||||
SysNoticeUserEdit(ctx context.Context, req *v1.SysNoticeUserEditReq) (res *v1.SysNoticeUserEditRes, err error)
|
||||
SysNoticeUserDelete(ctx context.Context, req *v1.SysNoticeUserDeleteReq) (res *v1.SysNoticeUserDeleteRes, err error)
|
||||
SysNoticeUserStatus(ctx context.Context, req *v1.SysNoticeUserStatusReq) (res *v1.SysNoticeUserStatusRes, err error)
|
||||
SysNoticeUserRead(ctx context.Context, req *v1.SysNoticeUserReadReq) (res *v1.SysNoticeUserReadRes, err error)
|
||||
SysTenantList(ctx context.Context, req *v1.SysTenantListReq) (res *v1.SysTenantListRes, err error)
|
||||
SysTenantAdd(ctx context.Context, req *v1.SysTenantAddReq) (res *v1.SysTenantAddRes, err error)
|
||||
SysTenantEdit(ctx context.Context, req *v1.SysTenantEditReq) (res *v1.SysTenantEditRes, err error)
|
||||
SysTenantDelete(ctx context.Context, req *v1.SysTenantDeleteReq) (res *v1.SysTenantDeleteRes, err error)
|
||||
SysTenantStatus(ctx context.Context, req *v1.SysTenantStatusReq) (res *v1.SysTenantStatusRes, err error)
|
||||
SysTenantView(ctx context.Context, req *v1.SysTenantViewReq) (res *v1.SysTenantViewRes, err error)
|
||||
SysTenantSyncMenu(ctx context.Context, req *v1.SysTenantSyncMenuReq) (res *v1.SysTenantSyncMenuRes, err error)
|
||||
SysTenantPackageList(ctx context.Context, req *v1.SysTenantPackageListReq) (res *v1.SysTenantPackageListRes, err error)
|
||||
SysTenantPackageView(ctx context.Context, req *v1.SysTenantPackageViewReq) (res *v1.SysTenantPackageViewRes, err error)
|
||||
SysTenantPackageStatus(ctx context.Context, req *v1.SysTenantPackageStatusReq) (res *v1.SysTenantPackageStatusRes, err error)
|
||||
SysTenantPackageAdd(ctx context.Context, req *v1.SysTenantPackageAddReq) (res *v1.SysTenantPackageAddRes, err error)
|
||||
SysTenantPackageEdit(ctx context.Context, req *v1.SysTenantPackageEditReq) (res *v1.SysTenantPackageEditRes, err error)
|
||||
SysTenantPackageDelete(ctx context.Context, req *v1.SysTenantPackageDeleteReq) (res *v1.SysTenantPackageDeleteRes, err error)
|
||||
TTplatformSettingList(ctx context.Context, req *v1.TTplatformSettingListReq) (res *v1.TTplatformSettingListRes, err error)
|
||||
TTplatformSettingExport(ctx context.Context, req *v1.TTplatformSettingExportReq) (res *v1.TTplatformSettingExportRes, err error)
|
||||
TTplatformSettingView(ctx context.Context, req *v1.TTplatformSettingViewReq) (res *v1.TTplatformSettingViewRes, err error)
|
||||
TTplatformSettingEdit(ctx context.Context, req *v1.TTplatformSettingEditReq) (res *v1.TTplatformSettingEditRes, err error)
|
||||
TTplatformSettingDelete(ctx context.Context, req *v1.TTplatformSettingDeleteReq) (res *v1.TTplatformSettingDeleteRes, err error)
|
||||
TTplatformSettingMaxSort(ctx context.Context, req *v1.TTplatformSettingMaxSortReq) (res *v1.TTplatformSettingMaxSortRes, err error)
|
||||
TTplatformSettingStatus(ctx context.Context, req *v1.TTplatformSettingStatusReq) (res *v1.TTplatformSettingStatusRes, err error)
|
||||
UserInfo(ctx context.Context, req *v1.UserInfoReq) (res *v1.UserInfoRes, err error)
|
||||
UserList(ctx context.Context, req *v1.UserListReq) (res *v1.UserListRes, err error)
|
||||
AddUser(ctx context.Context, req *v1.AddUserReq) (res *v1.AddUserRes, err error)
|
||||
UserProfile(ctx context.Context, req *v1.UserProfileReq) (res *v1.UserProfileRes, err error)
|
||||
UpdateCurrentUser(ctx context.Context, req *v1.UpdateCurrentUserReq) (res *v1.UpdateCurrentUserRes, err error)
|
||||
UpdateCurrentUserPassword(ctx context.Context, req *v1.UpdateCurrentUserPasswordReq) (res *v1.UpdateCurrentUserPasswordRes, err error)
|
||||
SendCurrentUserEmailCode(ctx context.Context, req *v1.SendCurrentUserEmailCodeReq) (res *v1.SendCurrentUserEmailCodeRes, err error)
|
||||
UpdateCurrentUserEmail(ctx context.Context, req *v1.UpdateCurrentUserEmailReq) (res *v1.UpdateCurrentUserEmailRes, err error)
|
||||
SendCurrentUserPhoneCode(ctx context.Context, req *v1.SendCurrentUserPhoneCodeReq) (res *v1.SendCurrentUserPhoneCodeRes, err error)
|
||||
UpdateCurrentUserPhone(ctx context.Context, req *v1.UpdateCurrentUserPhoneReq) (res *v1.UpdateCurrentUserPhoneRes, err error)
|
||||
UpdateUser(ctx context.Context, req *v1.UpdateUserReq) (res *v1.UpdateUserRes, err error)
|
||||
DeleteUser(ctx context.Context, req *v1.DeleteUserReq) (res *v1.DeleteUserRes, err error)
|
||||
GetUser(ctx context.Context, req *v1.GetUserReq) (res *v1.GetUserRes, err error)
|
||||
ResetPassword(ctx context.Context, req *v1.ResetPasswordReq) (res *v1.ResetPasswordRes, err error)
|
||||
GetUserListByDeptId(ctx context.Context, req *v1.GetUserListByDeptIdReq) (res *v1.GetUserListByDeptIdRes, err error)
|
||||
UserRegister(ctx context.Context, req *v1.UserRegisterReq) (res *v1.UserRegisterRes, err error)
|
||||
UserStatus(ctx context.Context, req *v1.UserStatusReq) (res *v1.UserStatusRes, err error)
|
||||
IsMfaEnabled(ctx context.Context, req *v1.IsMfaEnabledReq) (res *v1.IsMfaEnabledRes, err error)
|
||||
SetMfaEnabled(ctx context.Context, req *v1.SetMfaEnabledReq) (res *v1.SetMfaEnabledRes, err error)
|
||||
MfaVerify(ctx context.Context, req *v1.MfaVerifyReq) (res *v1.MfaVerifyRes, err error)
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
// 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 (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type LoginReq struct {
|
||||
g.Meta `path:"/auth/login" method:"post" tags:"系统-授权" summary:"登录"`
|
||||
TenantId string `json:"tenantId" v:"required#租户ID不能为空" dc:"租户ID"`
|
||||
Username string `json:"username" v:"required#用户名不能为空" dc:"用户名"`
|
||||
Password string `json:"password" v:"required#密码不能为空" dc:"密码"`
|
||||
CaptchaID string `json:"captchaID" dc:"验证码ID"`
|
||||
CaptchaValue string `json:"captchaValue" v:"required#验证码不能为空" dc:"验证码"`
|
||||
}
|
||||
|
||||
type LoginRes struct {
|
||||
ID int64 `json:"id" dc:"用户ID"`
|
||||
Username string `json:"username" dc:"用户名"`
|
||||
NickName string `json:"nickName" dc:"昵称"`
|
||||
Avatar string `json:"avatar" dc:"头像"`
|
||||
AccessToken string `json:"accessToken" dc:"访问令牌"`
|
||||
}
|
||||
|
||||
type SendSmsLoginCodeReq struct {
|
||||
g.Meta `path:"/auth/sms-code" method:"post" tags:"系统-授权" summary:"发送手机验证码登录短信"`
|
||||
Phone string `json:"phone" v:"required|phone#手机号不能为空|手机号格式不正确" dc:"手机号"`
|
||||
}
|
||||
|
||||
type SendSmsLoginCodeRes struct{}
|
||||
|
||||
type SmsLoginReq struct {
|
||||
g.Meta `path:"/auth/sms-login" method:"post" tags:"系统-授权" summary:"手机验证码登录"`
|
||||
Phone string `json:"phone" v:"required|phone#手机号不能为空|手机号格式不正确" dc:"手机号"`
|
||||
Code string `json:"code" v:"required|length:6,6#验证码不能为空|验证码应为6位" dc:"短信验证码"`
|
||||
}
|
||||
|
||||
type SmsLoginRes struct {
|
||||
ID int64 `json:"id" dc:"用户ID"`
|
||||
Username string `json:"username" dc:"用户名"`
|
||||
NickName string `json:"nickName" dc:"昵称"`
|
||||
Avatar string `json:"avatar" dc:"头像"`
|
||||
AccessToken string `json:"accessToken" dc:"访问令牌"`
|
||||
}
|
||||
|
||||
type RefreshTokenReq struct {
|
||||
g.Meta `path:"/auth/refresh" method:"post" tags:"系统-授权" summary:"刷新访问令牌"`
|
||||
WithCredentials bool `json:"withCredentials" dc:"是否携带凭证"`
|
||||
}
|
||||
|
||||
type RefreshTokenRes struct {
|
||||
Data string `json:"data" dc:"新的访问令牌"`
|
||||
Status int `json:"status" dc:"状态码"`
|
||||
}
|
||||
|
||||
type LogoutReq struct {
|
||||
g.Meta `path:"/auth/logout" method:"post" tags:"系统-授权" summary:"退出登录"`
|
||||
WithCredentials bool `json:"withCredentials" dc:"是否携带凭证"`
|
||||
}
|
||||
|
||||
type LogoutRes struct {
|
||||
Data string `json:"data" dc:"退出登录"`
|
||||
Status int `json:"status" dc:"状态码"`
|
||||
}
|
||||
|
||||
type GetAccessCodesReq struct {
|
||||
g.Meta `path:"/auth/codes" method:"get" tags:"系统-授权" summary:"获取用户权限码"`
|
||||
IsCache bool `json:"isCache" dc:"是否从缓存中获取"`
|
||||
}
|
||||
|
||||
type GetAccessCodesRes struct {
|
||||
Data []string `json:"data" dc:"用户权限码"`
|
||||
Status int `json:"status" dc:"状态码"`
|
||||
}
|
||||
|
||||
type TenantListReq struct {
|
||||
g.Meta `path:"/auth/getTenantList" method:"get" tags:"系统-授权" summary:"获取租户列表"`
|
||||
}
|
||||
|
||||
type TenantListData struct {
|
||||
CompanyName string `json:"companyName" dc:"企业名称"`
|
||||
Domain string `json:"domain" dc:"域名"`
|
||||
TenantId string `json:"tenantId" dc:"租户ID"`
|
||||
}
|
||||
|
||||
type TenantListRes struct {
|
||||
TenantEnabled bool `json:"tenantEnabled" dc:"是否启用租户"`
|
||||
VoList []TenantListData `json:"voList" dc:"租户列表"`
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
// 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 "github.com/gogf/gf/v2/frame/g"
|
||||
|
||||
// 获取验证码
|
||||
type GetCaptchaReq struct {
|
||||
g.Meta `path:"/captcha" method:"get" tags:"系统-授权" summary:"获取验证码"`
|
||||
}
|
||||
|
||||
type GetCaptchaRes struct {
|
||||
CaptchaID string `json:"captchaID" dc:"验证码ID"`
|
||||
CaptchaImage string `json:"captchaImage" dc:"验证码图片"`
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type SysClientListReq struct {
|
||||
g.Meta `path:"/client/list" method:"get" tags:"系统-客户端管理" summary:"获取客户端列表" x-check-permission:"cpm:system:client:list"`
|
||||
model.SysClientListParam
|
||||
}
|
||||
|
||||
type SysClientListRes struct {
|
||||
Items []*model.SysClientListModel `json:"items"`
|
||||
response.PageResult
|
||||
}
|
||||
|
||||
type SysClientViewReq struct {
|
||||
g.Meta `path:"/client/view" method:"get" tags:"系统-客户端管理" summary:"获取客户端详情" x-check-permission:"cpm:system:client:query"`
|
||||
*model.SysClientViewParam
|
||||
}
|
||||
|
||||
type SysClientViewRes struct {
|
||||
*model.SysClientViewModel
|
||||
}
|
||||
|
||||
type SysClientAddReq struct {
|
||||
g.Meta `path:"/client/add" method:"post" tags:"系统-客户端管理" summary:"添加客户端" x-check-permission:"cpm:system:client:add"`
|
||||
*model.SysClientAddParam
|
||||
}
|
||||
|
||||
type SysClientAddRes struct {
|
||||
*model.SysClientAddModel
|
||||
}
|
||||
|
||||
type SysClientEditReq struct {
|
||||
g.Meta `path:"/client/edit" method:"post" tags:"系统-客户端管理" summary:"编辑客户端" x-check-permission:"cpm:system:client:edit"`
|
||||
*model.SysClientEditParam
|
||||
}
|
||||
|
||||
type SysClientEditRes struct {
|
||||
*model.SysClientEditModel
|
||||
}
|
||||
|
||||
type SysClientDeleteReq struct {
|
||||
g.Meta `path:"/client/delete" method:"post" tags:"系统-客户端管理" summary:"删除客户端" x-check-permission:"cpm:system:client:remove"`
|
||||
*model.SysClientDeleteParam
|
||||
}
|
||||
|
||||
type SysClientDeleteRes struct {
|
||||
*model.SysClientDeleteModel
|
||||
}
|
||||
|
||||
type SysClientStatusReq struct {
|
||||
g.Meta `path:"/client/status" method:"post" tags:"系统-客户端管理" summary:"修改客户端状态" x-check-permission:"cpm:system:client:edit"`
|
||||
*model.SysClientStatusParam
|
||||
}
|
||||
|
||||
type SysClientStatusRes struct {
|
||||
*model.SysClientStatusModel
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type GetConfigListReq struct {
|
||||
g.Meta `path:"/config/list" method:"get" tags:"系统-配置管理" summary:"获取系统配置列表" x-check-permission:"cpm:system:config:list"`
|
||||
model.SysConfigListParam
|
||||
}
|
||||
|
||||
type GetConfigListRes struct {
|
||||
response.PageResult
|
||||
Data []*model.SysConfigListModel `json:"items" dc:"系统配置列表"`
|
||||
}
|
||||
|
||||
type AddConfigReq struct {
|
||||
g.Meta `path:"/config/add" method:"post" tags:"系统-配置管理" summary:"添加系统配置" x-check-permission:"cpm:system:config:add"`
|
||||
model.SysConfigAddParam
|
||||
}
|
||||
|
||||
type AddConfigRes struct {
|
||||
model.SysConfigAddModel
|
||||
}
|
||||
|
||||
type EditConfigReq struct {
|
||||
g.Meta `path:"/config/edit" method:"post" tags:"系统-配置管理" summary:"编辑系统配置" x-check-permission:"cpm:system:config:edit"`
|
||||
model.SysConfigEditParam
|
||||
}
|
||||
|
||||
type EditConfigRes struct {
|
||||
model.SysConfigEditModel
|
||||
}
|
||||
|
||||
type DeleteConfigReq struct {
|
||||
g.Meta `path:"/config/delete" method:"post" tags:"系统-配置管理" summary:"删除系统配置" x-check-permission:"cpm:system:config:remove"`
|
||||
model.SysConfigDeleteParam
|
||||
}
|
||||
|
||||
type DeleteConfigRes struct {
|
||||
model.SysConfigDeleteModel
|
||||
}
|
||||
|
||||
type GetConfigByIdReq struct {
|
||||
g.Meta `path:"/config/view" method:"get" tags:"系统-配置管理" summary:"获取系统配置详情" x-check-permission:"cpm:system:config:query"`
|
||||
model.SysConfigViewParam
|
||||
}
|
||||
|
||||
type GetConfigByIdRes struct {
|
||||
model.SysConfigViewModel
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/request"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type DeptListReq struct {
|
||||
g.Meta `path:"/dept/list" method:"get" tags:"系统-部门管理" summary:"获取部门列表" x-check-permission:"cpm:system:dept:list"`
|
||||
request.PageInfo
|
||||
model.SysDeptListParam
|
||||
}
|
||||
|
||||
type DeptListRes struct {
|
||||
response.PageResult
|
||||
Data []*model.SysDeptListModel `json:"items" dc:"部门列表"`
|
||||
}
|
||||
|
||||
type DeptTreeReq struct {
|
||||
g.Meta `path:"/dept/tree" method:"get" tags:"系统-部门管理" summary:"获取部门树" x-check-permission:"cpm:system:dept:list"`
|
||||
model.SysDeptTreeParam
|
||||
}
|
||||
|
||||
type DeptTreeRes struct {
|
||||
Data []*model.SysDeptTreeModel `json:"items" dc:"部门树"`
|
||||
}
|
||||
|
||||
// DeptFullTreeReq 组织管理页专用的完整部门树。
|
||||
//
|
||||
// 与 DeptTreeReq 分开而非复用:/dept/tree 有 10+ 处调用方(部门选择器、
|
||||
// 用户管理左栏、通知公告等),它们只依赖精简的7 个字段,不能改动其结构。
|
||||
type DeptFullTreeReq struct {
|
||||
g.Meta `path:"/dept/tree/full" method:"get" tags:"系统-部门管理" summary:"获取完整部门树" x-check-permission:"cpm:system:dept:list"`
|
||||
model.SysDeptFullTreeParam
|
||||
}
|
||||
|
||||
type DeptFullTreeRes struct {
|
||||
Data []*model.SysDeptFullTreeModel `json:"items" dc:"完整部门树"`
|
||||
}
|
||||
|
||||
type DeptAddReq struct {
|
||||
g.Meta `path:"/dept/add" method:"post" tags:"系统-部门管理" summary:"新增部门" x-check-permission:"cpm:system:dept:add"`
|
||||
model.SysDeptAddModel
|
||||
}
|
||||
|
||||
type DeptAddRes struct {
|
||||
DeptId int64 `json:"deptId" dc:"部门id"`
|
||||
}
|
||||
|
||||
type DeptEditReq struct {
|
||||
g.Meta `path:"/dept/edit" method:"post" tags:"系统-部门管理" summary:"编辑部门" x-check-permission:"cpm:system:dept:edit"`
|
||||
model.SysDeptEditModel
|
||||
}
|
||||
|
||||
type DeptEditRes struct {
|
||||
DeptId int64 `json:"deptId" dc:"部门id"`
|
||||
}
|
||||
|
||||
type DeptDeleteReq struct {
|
||||
g.Meta `path:"/dept/delete" method:"post" tags:"系统-部门管理" summary:"删除部门" x-check-permission:"cpm:system:dept:remove"`
|
||||
model.SysDeptDeleteModel
|
||||
}
|
||||
|
||||
type DeptDeleteRes struct {
|
||||
DeptId int64 `json:"deptId" dc:"部门id"`
|
||||
}
|
||||
|
||||
type DeptViewReq struct {
|
||||
g.Meta `path:"/dept/view" method:"get" tags:"系统-部门管理" summary:"获取部门详情" x-check-permission:"cpm:system:dept:query"`
|
||||
model.SysDeptViewModel
|
||||
}
|
||||
|
||||
type DeptViewRes struct {
|
||||
model.SysDeptViewModel
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/request"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type SysDictTypeListReq struct {
|
||||
g.Meta `path:"/dict/list" method:"get" tags:"系统-字典管理" summary:"字典类型列表" x-check-permission:"cpm:system:dict:list"`
|
||||
model.SysDictTypeListParam
|
||||
}
|
||||
|
||||
type SysDictTypeListRes struct {
|
||||
response.PageResult
|
||||
Items []model.SysDictTypeListModel `json:"items"`
|
||||
}
|
||||
|
||||
type SysDictTypeAddReq struct {
|
||||
g.Meta `path:"/dict-type/add" method:"post" tags:"系统-字典管理" summary:"新增字典类型" x-check-permission:"cpm:system:dict:add"`
|
||||
model.SysDictTypeAddParam
|
||||
}
|
||||
|
||||
type SysDictTypeAddRes struct {
|
||||
model.SysDictTypeAddModel
|
||||
}
|
||||
|
||||
type SysDictTypeEditReq struct {
|
||||
g.Meta `path:"/dict-type/edit" method:"post" tags:"系统-字典管理" summary:"编辑字典类型" x-check-permission:"cpm:system:dict:edit"`
|
||||
model.SysDictTypeEditParam
|
||||
}
|
||||
|
||||
type SysDictTypeEditRes struct {
|
||||
model.SysDictTypeEditModel
|
||||
}
|
||||
|
||||
type SysDictTypeDeleteReq struct {
|
||||
g.Meta `path:"/dict-type/delete" method:"post" tags:"系统-字典管理" summary:"删除字典类型" x-check-permission:"cpm:system:dict:remove"`
|
||||
model.SysDictTypeDeleteParam
|
||||
}
|
||||
|
||||
type SysDictTypeDeleteRes struct {
|
||||
model.SysDictTypeDeleteModel
|
||||
}
|
||||
|
||||
type SysDictTypeViewReq struct {
|
||||
g.Meta `path:"/dict-type/view" method:"get" tags:"系统-字典管理" summary:"字典类型详情" x-check-permission:"cpm:system:dict:query"`
|
||||
model.SysDictTypeViewParam
|
||||
}
|
||||
|
||||
type SysDictTypeViewRes struct {
|
||||
model.SysDictTypeViewModel
|
||||
}
|
||||
|
||||
type SysDictDataListReq struct {
|
||||
g.Meta `path:"/dict-data/list/{id}" method:"get" tags:"系统-字典管理" summary:"字典数据列表" `
|
||||
request.PageInfo
|
||||
model.SysDictDataListParam
|
||||
}
|
||||
|
||||
type SysDictDataListRes struct {
|
||||
response.PageResult
|
||||
Items []model.SysDictDataListModel `json:"items"`
|
||||
Type *model.SysDictTypeViewModel `json:"type"`
|
||||
}
|
||||
|
||||
type SysDictDataAddReq struct {
|
||||
g.Meta `path:"/dict-data/add" method:"post" tags:"系统-字典管理" summary:"新增字典数据" x-check-permission:"cpm:system:dict:add"`
|
||||
model.SysDictDataAddParam
|
||||
}
|
||||
|
||||
type SysDictDataAddRes struct {
|
||||
model.SysDictDataAddModel
|
||||
}
|
||||
|
||||
type SysDictDataEditReq struct {
|
||||
g.Meta `path:"/dict-data/edit" method:"post" tags:"系统-字典管理" summary:"编辑字典数据" x-check-permission:"cpm:system:dict:edit"`
|
||||
model.SysDictDataEditParam
|
||||
}
|
||||
|
||||
type SysDictDataEditRes struct {
|
||||
model.SysDictDataEditModel
|
||||
}
|
||||
|
||||
type SysDictDataDeleteReq struct {
|
||||
g.Meta `path:"/dict-data/delete" method:"post" tags:"系统-字典管理" summary:"删除字典数据" x-check-permission:"cpm:system:dict:remove"`
|
||||
model.SysDictDataDeleteParam
|
||||
}
|
||||
|
||||
type SysDictDataDeleteRes struct {
|
||||
model.SysDictDataDeleteModel
|
||||
}
|
||||
|
||||
type SysDictDataViewReq struct {
|
||||
g.Meta `path:"/dict-data/view" method:"get" tags:"系统-字典管理" summary:"字典数据详情" x-check-permission:"cpm:system:dict:query"`
|
||||
model.SysDictDataViewParam
|
||||
}
|
||||
|
||||
type SysDictDataViewRes struct {
|
||||
model.SysDictDataViewModel
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/request"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// 获取任务列表
|
||||
type SysJobListReq struct {
|
||||
g.Meta `path:"/job/list" method:"get" tags:"系统-任务管理" summary:"获取任务列表" x-check-permission:"cpm:system:job:list"`
|
||||
model.SysJobListParam
|
||||
request.PageInfo
|
||||
}
|
||||
|
||||
type SysJobListRes struct {
|
||||
Data []*model.SysJobListModel `json:"items" dc:"任务列表"`
|
||||
response.PageResult
|
||||
}
|
||||
|
||||
// 获取任务详情
|
||||
type SysJobViewReq struct {
|
||||
g.Meta `path:"/job/view" method:"get" tags:"系统-任务管理" summary:"获取任务详情" x-check-permission:"cpm:system:job:view"`
|
||||
JobId int64 `v:"required" json:"jobId" dc:"任务ID"`
|
||||
}
|
||||
|
||||
type SysJobViewRes struct {
|
||||
model.SysJobViewModel
|
||||
}
|
||||
|
||||
// 添加任务
|
||||
type SysJobAddReq struct {
|
||||
g.Meta `path:"/job/add" method:"post" tags:"系统-任务管理" summary:"添加任务" x-check-permission:"cpm:system:job:add"`
|
||||
model.SysJobAddModel
|
||||
}
|
||||
|
||||
type SysJobAddRes struct {
|
||||
model.SysJobViewModel
|
||||
}
|
||||
|
||||
// 更新任务
|
||||
type SysJobUpdateReq struct {
|
||||
g.Meta `path:"/job/update" method:"post" tags:"系统-任务管理" summary:"更新任务" x-check-permission:"cpm:system:job:update"`
|
||||
model.SysJobUpdateModel
|
||||
}
|
||||
|
||||
type SysJobUpdateRes struct {
|
||||
model.SysJobViewModel
|
||||
}
|
||||
|
||||
// 更新任务
|
||||
type SysJobUpdateStatusReq struct {
|
||||
g.Meta `path:"/job/status" method:"post" tags:"系统" summary:"更新任务状态" x-check-permission:"cpm:system:job:status"`
|
||||
model.SysJobUpdateStatusModel
|
||||
}
|
||||
|
||||
type SysJobUpdateStatusRes = SysJobUpdateRes
|
||||
|
||||
// 删除任务
|
||||
type SysJobDeleteReq struct {
|
||||
g.Meta `path:"/job/delete" method:"post" tags:"系统-任务管理" summary:"删除任务" x-check-permission:"cpm:system:job:delete"`
|
||||
JobIds []int64 `json:"jobId" dc:"任务ID"`
|
||||
}
|
||||
|
||||
type SysJobExecReq struct {
|
||||
g.Meta `path:"/job/exec" method:"post" tags:"系统" summary:"执行任务" x-check-permission:"cpm:system:job:exec"`
|
||||
JobId int64 `v:"required" json:"jobId" dc:"任务ID"`
|
||||
}
|
||||
|
||||
type SysJobDeleteRes struct {
|
||||
JobIds []int64 `json:"jobId" dc:"任务ID"`
|
||||
}
|
||||
|
||||
type SysJobExecRes struct {
|
||||
JobId int64 `json:"jobId" dc:"任务ID"`
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type ListLogininforReq struct {
|
||||
g.Meta `path:"/logininfor/list" method:"get" tags:"系统-日志管理" summary:"登录信息列表" x-check-permission:"cpm:monitor:logininfor:list"`
|
||||
model.SysLogininforListParam
|
||||
}
|
||||
|
||||
type ListLogininforRes struct {
|
||||
Items []*model.SysLogininforListModel `json:"items"`
|
||||
response.PageResult
|
||||
}
|
||||
|
||||
type DeleteLogininforReq struct {
|
||||
g.Meta `path:"/logininfor/delete" method:"post" tags:"系统-日志管理" summary:"删除登录信息" x-check-permission:"cpm:monitor:logininfor:remove"`
|
||||
model.SysLogininforDeleteParam
|
||||
}
|
||||
|
||||
type DeleteLogininforRes struct {
|
||||
model.SysLogininforDeleteModel
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
// 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 RouteMenu struct {
|
||||
Id int64 `json:"id" dc:"路由ID"`
|
||||
ParentId int64 `json:"parentId" dc:"父路由ID"`
|
||||
Path string `json:"path" dc:"路由路径"`
|
||||
Redirect *string `json:"redirect,omitempty" dc:"重定向路径"`
|
||||
Name string `json:"name" dc:"路由名称"` // 必须唯一
|
||||
Component string `json:"component" dc:"组件路径"`
|
||||
Meta *RouteMeta `json:"meta,omitempty" dc:"路由元数据"`
|
||||
Children []*RouteMenu `json:"children,omitempty" dc:"子路由"`
|
||||
}
|
||||
|
||||
// 路由元数据
|
||||
// 对应 vue/packages/@core/base/typings/src/vue-router.d.ts
|
||||
type RouteMeta struct {
|
||||
Title string `json:"title" dc:"菜单标题"`
|
||||
Icon *string `json:"icon,omitempty" dc:"菜单图标"`
|
||||
Order *int `json:"order,omitempty" dc:"菜单排序"`
|
||||
OpenInNewWindow *bool `json:"openInNewWindow,omitempty" dc:"是否在新窗口打开"`
|
||||
NoBasicLayout *bool `json:"noBasicLayout,omitempty" dc:"是否不使用基础布局"`
|
||||
HideInMenu *bool `json:"hideInMenu,omitempty" dc:"是否隐藏菜单"`
|
||||
HideInBreadcrumb *bool `json:"hideInBreadcrumb,omitempty" dc:"是否隐藏面包屑"`
|
||||
HideChildrenInMenu *bool `json:"hideChildrenInMenu,omitempty" dc:"是否隐藏子菜单"`
|
||||
HideInTab *bool `json:"hideInTab,omitempty" dc:"是否隐藏标签页"`
|
||||
MenuVisibleWithForbidden *bool `json:"menuVisibleWithForbidden,omitempty" dc:"菜单可见但访问会被重定向到403"`
|
||||
IgnoreAccess *bool `json:"ignoreAccess,omitempty" dc:"忽略权限,直接可以访问"`
|
||||
KeepAlive *bool `json:"keepAlive,omitempty" dc:"开启KeepAlive缓存"`
|
||||
Link *string `json:"link,omitempty" dc:"外链-跳转路径"`
|
||||
Query map[string]string `json:"query,omitempty" dc:"路由所携带的参数"`
|
||||
IframeSrc *string `json:"iframeSrc,omitempty" dc:"iframe地址"`
|
||||
MaxNumOfOpenTab *int `json:"maxNumOfOpenTab,omitempty" dc:"标签页最大打开数量"`
|
||||
Badge *string `json:"badge,omitempty" dc:"徽标"`
|
||||
BadgeType *string `json:"badgeType,omitempty" dc:"徽标类型"`
|
||||
BadgeVariants *string `json:"badgeVariants,omitempty" dc:"徽标颜色"`
|
||||
Authority []string `json:"authority,omitempty" dc:"需要特定的角色标识才可以访问"`
|
||||
AffixTab *bool `json:"affixTab,omitempty" dc:"是否固定标签页"`
|
||||
AffixTabOrder *int `json:"affixTabOrder,omitempty" dc:"固定标签页的顺序"`
|
||||
ActiveIcon *string `json:"activeIcon,omitempty" dc:"激活图标"`
|
||||
ActivePath *string `json:"activePath,omitempty" dc:"当前激活的菜单"`
|
||||
}
|
||||
|
||||
// 获取用户所有菜单
|
||||
type MenuAllReq struct {
|
||||
g.Meta `path:"/menu/all" method:"get" tags:"系统-菜单管理" summary:"获取用户所有菜单" x-check-permission:""`
|
||||
}
|
||||
|
||||
// type MenuAllRes struct {
|
||||
// Data []RouteMenu `json:"data" dc:"菜单列表"`
|
||||
// }
|
||||
type MenuAllRes = []*RouteMenu
|
||||
|
||||
type MenuListReq struct {
|
||||
g.Meta `path:"/menu/list" method:"get" tags:"系统-菜单管理" summary:"获取菜单列表" x-check-permission:"cpm:system:menu:list"`
|
||||
model.SysMenuListParam
|
||||
}
|
||||
|
||||
type MenuListRes struct {
|
||||
Data []*model.SysMenuListModel `json:"items" dc:"菜单列表"`
|
||||
Total int `json:"total" dc:"总数"`
|
||||
}
|
||||
|
||||
type MenuViewReq struct {
|
||||
g.Meta `path:"/menu/view" method:"get" tags:"系统-菜单管理" summary:"获取菜单详情" x-check-permission:"cpm:system:menu:query"`
|
||||
MenuId int64 `json:"menuId" dc:"菜单ID"`
|
||||
}
|
||||
|
||||
type MenuViewRes struct {
|
||||
model.SysMenuViewModel
|
||||
}
|
||||
|
||||
type MenuAddReq struct {
|
||||
g.Meta `path:"/menu/add" method:"post" tags:"系统-菜单管理" summary:"添加菜单" x-check-permission:"cpm:system:menu:add"`
|
||||
model.SysMenuAddModel
|
||||
}
|
||||
|
||||
type MenuAddRes struct {
|
||||
model.SysMenuViewModel
|
||||
}
|
||||
|
||||
type MenuUpdateReq struct {
|
||||
g.Meta `path:"/menu/update" method:"post" tags:"系统-菜单管理" summary:"更新菜单" x-check-permission:"cpm:system:menu:edit"`
|
||||
model.SysMenuUpdateModel
|
||||
}
|
||||
|
||||
type MenuUpdateRes struct {
|
||||
model.SysMenuViewModel
|
||||
}
|
||||
|
||||
type MenuDeleteReq struct {
|
||||
g.Meta `path:"/menu/delete" method:"post" tags:"系统-菜单管理" summary:"删除菜单" x-check-permission:"cpm:system:menu:remove"`
|
||||
MenuId int64 `json:"menuId" dc:"菜单ID"`
|
||||
}
|
||||
|
||||
type MenuDeleteRes struct {
|
||||
}
|
||||
|
||||
// MenuTreeReq 菜单树,服务于两个场景:
|
||||
// 1. 菜单管理页(需要 cpm:system:menu:list)
|
||||
// 2. 角色管理页里的授权树(需要 cpm:system:role:query)
|
||||
//
|
||||
// 二者权限域不同,因此用逗号分隔声明为「或」关系:拥有任一权限即可调用。
|
||||
// 逗号 OR 语义由中间件实现(internal/logic/middleware/middleware.go 中对
|
||||
// x-check-permission 按 "," 切分后逐个匹配,任一通过即放行)。
|
||||
//
|
||||
// 若只要求 cpm:system:menu:list,则只有角色管理权限、没有菜单管理权限的用户
|
||||
// 将无法打开授权树。此设计与 /agent/menu/tree 使用角色权限的思路一致。
|
||||
type MenuTreeReq struct {
|
||||
g.Meta `path:"/menu/tree" method:"get" tags:"系统-菜单管理" summary:"获取菜单树" x-check-permission:"cpm:system:menu:list,cpm:system:role:query"`
|
||||
model.SysMenuListParam
|
||||
}
|
||||
|
||||
type MenuTreeRes struct {
|
||||
Data []*model.SysMenuFullTreeModel `json:"items" dc:"菜单树"`
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type SysNoticeListReq struct {
|
||||
g.Meta `path:"/notice/list" method:"get" tags:"系统-公告管理" summary:"公告列表" x-check-permission:"cpm:system:notice:list"`
|
||||
*model.SysNoticeListParam
|
||||
}
|
||||
|
||||
type SysNoticeListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.SysNoticeListModel `json:"items"`
|
||||
}
|
||||
|
||||
type SysNoticeAddReq struct {
|
||||
g.Meta `path:"/notice/add" method:"post" tags:"系统-公告管理" summary:"新增公告" x-check-permission:"cpm:system:notice:add"`
|
||||
*model.SysNoticeAddParam
|
||||
}
|
||||
|
||||
type SysNoticeAddRes struct {
|
||||
*model.SysNoticeAddModel
|
||||
}
|
||||
|
||||
type SysNoticeEditReq struct {
|
||||
g.Meta `path:"/notice/edit" method:"post" tags:"系统-公告管理" summary:"编辑公告" x-check-permission:"cpm:system:notice:edit"`
|
||||
*model.SysNoticeEditParam
|
||||
}
|
||||
|
||||
type SysNoticeEditRes struct {
|
||||
*model.SysNoticeEditModel
|
||||
}
|
||||
|
||||
type SysNoticeDeleteReq struct {
|
||||
g.Meta `path:"/notice/delete" method:"post" tags:"系统-公告管理" summary:"删除公告" x-check-permission:"cpm:system:notice:remove"`
|
||||
*model.SysNoticeDeleteParam
|
||||
}
|
||||
|
||||
type SysNoticeDeleteRes struct {
|
||||
*model.SysNoticeDeleteModel
|
||||
}
|
||||
|
||||
type SysNoticeViewReq struct {
|
||||
g.Meta `path:"/notice/view" method:"get" tags:"系统-公告管理" summary:"查看公告" x-check-permission:"cpm:system:notice:query"`
|
||||
*model.SysNoticeViewParam
|
||||
}
|
||||
|
||||
type SysNoticeViewRes struct {
|
||||
*model.SysNoticeViewModel
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/request"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type SysUserOnlineListReq struct {
|
||||
g.Meta `path:"/user-online/list" method:"get" tags:"监控-在线用户管理" summary:"系统用户在线列表" x-check-permission:"cpm:monitor:online:list"`
|
||||
request.PageInfo
|
||||
model.SysUserOnlineListParam
|
||||
}
|
||||
|
||||
type SysUserOnlineListRes struct {
|
||||
Items []*model.SysUserOnlineListModel `json:"items"`
|
||||
response.PageResult
|
||||
}
|
||||
|
||||
type SysUserOnlineDeleteReq struct {
|
||||
g.Meta `path:"/user-online/delete" method:"post" tags:"监控-在线用户管理" summary:"系统用户在线删除" x-check-permission:"cpm:monitor:online:remove"`
|
||||
Ids []int64 `json:"ids"`
|
||||
}
|
||||
|
||||
type SysUserOnlineDeleteRes struct {
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/request"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type GetOperLogListReq struct {
|
||||
g.Meta `path:"/oper-log/list" method:"get" tags:"系统-日志管理" summary:"操作日志列表" x-check-permission:"cpm:monitor:operlog:list"`
|
||||
model.SysOperLogListParam
|
||||
request.PageInfo
|
||||
}
|
||||
|
||||
type GetOperLogListRes struct {
|
||||
Items []*model.SysOperLogListModel `json:"items"`
|
||||
response.PageResult
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/request"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type SysOssListReq struct {
|
||||
g.Meta `path:"/oss/list" method:"get" tags:"系统-存储管理" summary:"获取OSS列表" x-check-permission:"cpm:system:oss:list"`
|
||||
model.SysOssListParam
|
||||
request.PageInfo
|
||||
}
|
||||
|
||||
type SysOssListRes struct {
|
||||
Items []*model.SysOssListModel `json:"items"`
|
||||
response.PageResult
|
||||
}
|
||||
|
||||
type SysOssViewReq struct {
|
||||
g.Meta `path:"/oss/view" method:"get" tags:"系统-存储管理" summary:"查看文件" x-check-permission:"cpm:system:oss:query"`
|
||||
*model.SysOssViewParam
|
||||
}
|
||||
|
||||
type SysOssViewRes struct {
|
||||
*model.SysOssViewModel
|
||||
}
|
||||
|
||||
type SysOssDeleteReq struct {
|
||||
g.Meta `path:"/oss/delete" method:"post" tags:"系统-存储管理" summary:"删除文件" x-check-permission:"cpm:system:oss:remove"`
|
||||
*model.SysOssDeleteParam
|
||||
}
|
||||
|
||||
type SysOssDeleteRes struct {
|
||||
*model.SysOssDeleteModel
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type SysOssConfigListReq struct {
|
||||
g.Meta `path:"/oss-config/list" method:"get" tags:"系统-存储管理" summary:"获取存储配置列表" x-check-permission:"cpm:system:ossConfig:list"`
|
||||
*model.SysOssConfigListParam
|
||||
}
|
||||
type SysOssConfigListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.SysOssConfigListModel `json:"items"`
|
||||
}
|
||||
|
||||
type SysOssConfigViewReq struct {
|
||||
g.Meta `path:"/oss-config/view" method:"get" tags:"系统-存储管理" summary:"获取存储配置详情" x-check-permission:"cpm:system:ossConfig:list"`
|
||||
*model.SysOssConfigViewParam
|
||||
}
|
||||
type SysOssConfigViewRes struct {
|
||||
*model.SysOssConfigViewModel
|
||||
}
|
||||
|
||||
type SysOssConfigAddReq struct {
|
||||
g.Meta `path:"/oss-config/add" method:"post" tags:"系统-存储管理" summary:"新增存储配置" x-check-permission:"cpm:system:ossConfig:add"`
|
||||
*model.SysOssConfigAddParam
|
||||
}
|
||||
type SysOssConfigAddRes struct {
|
||||
*model.SysOssConfigAddModel
|
||||
}
|
||||
|
||||
type SysOssConfigEditReq struct {
|
||||
g.Meta `path:"/oss-config/edit" method:"post" tags:"系统-存储管理" summary:"编辑存储配置" x-check-permission:"cpm:system:ossConfig:edit"`
|
||||
*model.SysOssConfigEditParam
|
||||
}
|
||||
type SysOssConfigEditRes struct {
|
||||
*model.SysOssConfigEditModel
|
||||
}
|
||||
|
||||
type SysOssConfigDeleteReq struct {
|
||||
g.Meta `path:"/oss-config/delete" method:"post" tags:"系统-存储管理" summary:"删除存储配置" x-check-permission:"cpm:system:ossConfig:remove"`
|
||||
*model.SysOssConfigDeleteParam
|
||||
}
|
||||
type SysOssConfigDeleteRes struct {
|
||||
*model.SysOssConfigDeleteModel
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type PostListReq struct {
|
||||
g.Meta `path:"/post/list" method:"get" tags:"系统-岗位管理" summary:"获取岗位列表" x-check-permission:"cpm:system:post:list"`
|
||||
*model.SysPostListParam
|
||||
}
|
||||
|
||||
type PostListRes struct {
|
||||
response.PageResult
|
||||
Data []*model.SysPostListModel `json:"items" dc:"岗位列表"`
|
||||
}
|
||||
|
||||
type PostAddReq struct {
|
||||
g.Meta `path:"/post/add" method:"post" tags:"系统-岗位管理" summary:"新增岗位" x-check-permission:"cpm:system:post:add"`
|
||||
*model.SysPostAddParam
|
||||
}
|
||||
|
||||
type PostAddRes struct {
|
||||
*model.SysPostAddModel
|
||||
}
|
||||
|
||||
type PostEditReq struct {
|
||||
g.Meta `path:"/post/edit" method:"post" tags:"系统-岗位管理" summary:"编辑岗位" x-check-permission:"cpm:system:post:edit"`
|
||||
*model.SysPostEditParam
|
||||
}
|
||||
|
||||
type PostEditRes struct {
|
||||
*model.SysPostEditModel
|
||||
}
|
||||
|
||||
type PostDeleteReq struct {
|
||||
g.Meta `path:"/post/delete" method:"post" tags:"系统-岗位管理" summary:"删除岗位"`
|
||||
*model.SysPostDeleteParam
|
||||
}
|
||||
|
||||
type PostDeleteRes struct {
|
||||
*model.SysPostDeleteModel
|
||||
}
|
||||
|
||||
type PostViewReq struct {
|
||||
g.Meta `path:"/post/view" method:"get" tags:"系统-岗位管理" summary:"获取岗位详情" x-check-permission:"cpm:system:post:list"`
|
||||
*model.SysPostViewParam
|
||||
}
|
||||
|
||||
type PostViewRes struct {
|
||||
*model.SysPostViewModel
|
||||
}
|
||||
|
||||
type PostExportReq struct {
|
||||
g.Meta `path:"/post/export" method:"post" tags:"系统-岗位管理" summary:"导出岗位" x-check-permission:"cpm:system:post:export"`
|
||||
*model.SysPostExportParam
|
||||
}
|
||||
|
||||
type PostExportRes struct {
|
||||
*model.SysPostExportModel
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// 获取登录二维码
|
||||
type QrcodeLoginReq struct {
|
||||
g.Meta `path:"/qrcode/login" method:"get" tags:"系统-二维码" summary:"获取登录二维码"`
|
||||
}
|
||||
|
||||
type QrcodeLoginRes struct {
|
||||
model.QrcodeLoginModel
|
||||
}
|
||||
|
||||
// 获取登录二维码扫码结果
|
||||
type QrcodeLoginStatusReq struct {
|
||||
g.Meta `path:"/qrcode/login/status" method:"get" tags:"系统-二维码" summary:"获取登录二维码扫码状态"`
|
||||
TempUserId string `json:"tempUserId" dc:"临时用户ID" v:"required#临时用户ID不能为空"`
|
||||
}
|
||||
|
||||
type QrcodeLoginStatusRes struct {
|
||||
model.QrcodeLoginModel
|
||||
}
|
||||
|
||||
// 获取绑定二维码
|
||||
type QrcodeBindReq struct {
|
||||
g.Meta `path:"/qrcode/bind" method:"get" tags:"系统-二维码" summary:"获取绑定二维码"`
|
||||
}
|
||||
|
||||
type QrcodeBindRes struct {
|
||||
model.QrcodeCacheModel
|
||||
}
|
||||
|
||||
// 获取绑定二维码扫码结果
|
||||
type QrcodeBindStatusReq struct {
|
||||
g.Meta `path:"/qrcode/bind/status" method:"get" tags:"系统-二维码" summary:"获取绑定二维码扫码状态"`
|
||||
}
|
||||
|
||||
type QrcodeBindStatusRes struct {
|
||||
model.QrcodeBindStatusModel
|
||||
}
|
||||
|
||||
// 扫码成功回调
|
||||
type QrcodeScanCallbackReq struct {
|
||||
g.Meta `path:"/qrcode/scan/callback" method:"post" tags:"系统-二维码" summary:"扫码成功回调"`
|
||||
model.QrcodeScanCallbackParam
|
||||
}
|
||||
|
||||
type QrcodeScanCallbackRes struct {
|
||||
}
|
||||
|
||||
// 注册并关联OpenId
|
||||
type QrcodeRegisterAndBindOpenIdReq struct {
|
||||
g.Meta `path:"/qrcode/registerAndBindOpenId" method:"post" tags:"系统-二维码" summary:"注册并关联OpenId"`
|
||||
model.QrcodeRegisterAndBindOpenIdParam
|
||||
}
|
||||
|
||||
type QrcodeRegisterAndBindOpenIdRes struct {
|
||||
model.QrcodeLoginAndBindOpenIdModel
|
||||
}
|
||||
|
||||
// 登录并关联OpenId
|
||||
type QrcodeLoginAndBindOpenIdReq struct {
|
||||
g.Meta `path:"/qrcode/loginAndBindOpenId" method:"post" tags:"系统-二维码" summary:"登录并关联OpenId"`
|
||||
model.QrcodeLoginAndBindOpenIdParam
|
||||
}
|
||||
|
||||
type QrcodeLoginAndBindOpenIdRes struct {
|
||||
model.QrcodeLoginAndBindOpenIdModel
|
||||
}
|
||||
|
||||
// 扫码后选择用户登录
|
||||
type QrcodeLoginSelectUserReq struct {
|
||||
g.Meta `path:"/qrcode/loginSelectUser" method:"post" tags:"系统-二维码" summary:"扫码后选择用户登录"`
|
||||
model.QrcodeLoginSelectUserIdParam
|
||||
}
|
||||
|
||||
type QrcodeLoginSelectUserRes struct {
|
||||
model.QrcodeLoginAndBindOpenIdModel
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/request"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type RoleListReq struct {
|
||||
g.Meta `path:"/role/list" method:"get" tags:"系统-角色管理" summary:"获取角色列表" x-check-permission:"cpm:system:role:list"`
|
||||
request.PageInfo
|
||||
model.SysRoleListParam
|
||||
}
|
||||
|
||||
type RoleListRes struct {
|
||||
response.PageResult
|
||||
Data []*model.SysRoleListModel `json:"items" dc:"角色列表"`
|
||||
}
|
||||
|
||||
type RoleAddReq struct {
|
||||
g.Meta `path:"/role/add" method:"post" tags:"系统-角色管理" summary:"新增角色" x-check-permission:"cpm:system:role:add"`
|
||||
model.SysRoleAddParam
|
||||
}
|
||||
|
||||
type RoleAddRes struct {
|
||||
model.SysRoleAddModel
|
||||
}
|
||||
|
||||
type RoleEditReq struct {
|
||||
g.Meta `path:"/role/edit" method:"post" tags:"系统-角色管理" summary:"编辑角色" x-check-permission:"cpm:system:role:edit"`
|
||||
model.SysRoleEditParam
|
||||
}
|
||||
|
||||
type RoleEditRes struct {
|
||||
model.SysRoleEditModel
|
||||
}
|
||||
|
||||
type RoleDeleteReq struct {
|
||||
g.Meta `path:"/role/delete" method:"post" tags:"系统-角色管理" summary:"删除角色" x-check-permission:"cpm:system:role:remove"`
|
||||
model.SysRoleDeleteParam
|
||||
}
|
||||
|
||||
type RoleDeleteRes struct {
|
||||
model.SysRoleDeleteModel
|
||||
}
|
||||
|
||||
type RoleViewReq struct {
|
||||
g.Meta `path:"/role/view" method:"get" tags:"系统-角色管理" summary:"获取角色详情" x-check-permission:"cpm:system:role:query"`
|
||||
model.SysRoleViewParam
|
||||
}
|
||||
|
||||
type RoleViewRes struct {
|
||||
model.SysRoleViewModel
|
||||
}
|
||||
|
||||
type RoleDataScopeEditReq struct {
|
||||
g.Meta `path:"/role/dataScope" method:"post" tags:"系统-角色管理" summary:"编辑角色数据权限" x-check-permission:"cpm:system:role:edit"`
|
||||
model.SysRoleDataScopeEditParam
|
||||
}
|
||||
|
||||
type RoleDataScopeEditRes struct {
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/request"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type SysSocialListReq struct {
|
||||
g.Meta `path:"/social/list" method:"get" tags:"系统-第三方授权管理" summary:"社交列表" x-check-permission:"cpc:current:user"`
|
||||
model.SysSocialListParam
|
||||
request.PageInfo
|
||||
}
|
||||
|
||||
type SysSocialListRes struct {
|
||||
Items []*model.SysSocialListModel `json:"items"`
|
||||
response.PageResult
|
||||
}
|
||||
|
||||
// 删除绑定关系
|
||||
type SysSocialDeleteReq struct {
|
||||
g.Meta `path:"/social/delete" method:"post" tags:"系统-第三方授权管理" summary:"删除社交" x-check-permission:"cpc:current:user"`
|
||||
Id int64 `json:"id" dc:"主键"`
|
||||
}
|
||||
|
||||
type SysSocialDeleteRes struct {
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
// Package sysnoticeuser
|
||||
// @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
|
||||
// @AutoGenerate Version
|
||||
package v1 //sysnoticeuser
|
||||
|
||||
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 SysNoticeUserListReq struct {
|
||||
g.Meta `path:"/sysNoticeUser/list" method:"get" tags:"系统-用户通知公告表" summary:"获取用户通知公告表列表" x-check-permission:"cpm:system:sysNoticeUser:list,cpc:current:user"`
|
||||
model.SysNoticeUserListParam
|
||||
}
|
||||
|
||||
type SysNoticeUserListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.SysNoticeUserListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出用户通知公告表列表
|
||||
type SysNoticeUserExportReq struct {
|
||||
g.Meta `path:"/sysNoticeUser/export" method:"post" tags:"系统-用户通知公告表" summary:"导出用户通知公告表列表" x-check-permission:"cpm:system:sysNoticeUser:export,cpc:current:user"`
|
||||
model.SysNoticeUserListParam
|
||||
}
|
||||
|
||||
type SysNoticeUserExportRes struct{}
|
||||
|
||||
// ViewReq 获取用户通知公告表指定信息
|
||||
type SysNoticeUserViewReq struct {
|
||||
g.Meta `path:"/sysNoticeUser/view" method:"get" tags:"系统-用户通知公告表" summary:"获取用户通知公告表指定信息" x-check-permission:"cpm:system:sysNoticeUser:view,cpc:current:user"`
|
||||
model.SysNoticeUserViewParam
|
||||
}
|
||||
|
||||
type SysNoticeUserViewRes struct {
|
||||
*model.SysNoticeUserViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增用户通知公告表
|
||||
type SysNoticeUserEditReq struct {
|
||||
g.Meta `path:"/sysNoticeUser/edit" method:"post" tags:"系统-用户通知公告表" summary:"修改/新增用户通知公告表" x-check-permission:"cpm:system:sysNoticeUser:edit,cpc:current:user"`
|
||||
model.SysNoticeUserEditParam
|
||||
}
|
||||
|
||||
type SysNoticeUserEditRes struct{}
|
||||
|
||||
// DeleteReq 删除用户通知公告表
|
||||
type SysNoticeUserDeleteReq struct {
|
||||
g.Meta `path:"/sysNoticeUser/delete" method:"post" tags:"系统-用户通知公告表" summary:"删除用户通知公告表" x-check-permission:"cpm:system:sysNoticeUser:delete,cpc:current:user"`
|
||||
model.SysNoticeUserDeleteParam
|
||||
}
|
||||
|
||||
type SysNoticeUserDeleteRes struct{}
|
||||
|
||||
// StatusReq 更新用户通知公告表状态
|
||||
type SysNoticeUserStatusReq struct {
|
||||
g.Meta `path:"/sysNoticeUser/status" method:"post" tags:"系统-用户通知公告表" summary:"更新用户通知公告表状态" x-check-permission:"cpm:system:sysNoticeUser:status,cpc:current:user"`
|
||||
model.SysNoticeUserStatusParam
|
||||
}
|
||||
|
||||
type SysNoticeUserStatusRes struct{}
|
||||
|
||||
// ReadReq 已读
|
||||
type SysNoticeUserReadReq struct {
|
||||
g.Meta `path:"/sysNoticeUser/read" method:"post" tags:"系统-用户通知公告表" summary:"已读" x-check-permission:"cpm:system:sysNoticeUser:read,cpc:current:user"`
|
||||
model.SysNoticeUserReadParam
|
||||
}
|
||||
|
||||
type SysNoticeUserReadRes struct{}
|
||||
@@ -0,0 +1,135 @@
|
||||
// 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"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/request"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type SysTenantListReq struct {
|
||||
g.Meta `path:"/tenant/list" method:"get" tags:"系统-租户管理" summary:"租户列表" x-check-permission:"cpm:system:tenant:list"`
|
||||
request.PageInfo
|
||||
*model.SysTenantListParam
|
||||
}
|
||||
|
||||
type SysTenantListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.SysTenantListModel `json:"items"`
|
||||
}
|
||||
|
||||
type SysTenantAddReq struct {
|
||||
g.Meta `path:"/tenant/add" method:"post" tags:"系统-租户管理" summary:"租户添加" x-check-permission:"cpm:system:tenant:add"`
|
||||
*model.SysTenantAddParam
|
||||
}
|
||||
|
||||
type SysTenantAddRes struct {
|
||||
*model.SysTenantAddModel
|
||||
}
|
||||
|
||||
type SysTenantEditReq struct {
|
||||
g.Meta `path:"/tenant/edit" method:"post" tags:"系统-租户管理" summary:"租户编辑" x-check-permission:"cpm:system:tenant:edit"`
|
||||
*model.SysTenantEditParam
|
||||
}
|
||||
|
||||
type SysTenantEditRes struct {
|
||||
*model.SysTenantEditModel
|
||||
}
|
||||
|
||||
type SysTenantDeleteReq struct {
|
||||
g.Meta `path:"/tenant/delete" method:"post" tags:"系统-租户管理" summary:"租户删除" x-check-permission:"cpm:system:tenant:remove"`
|
||||
*model.SysTenantDeleteParam
|
||||
}
|
||||
|
||||
type SysTenantDeleteRes struct {
|
||||
*model.SysTenantDeleteModel
|
||||
}
|
||||
|
||||
type SysTenantStatusReq struct {
|
||||
g.Meta `path:"/tenant/status" method:"post" tags:"系统-租户管理" summary:"租户状态" x-check-permission:"cpm:system:tenant:edit"`
|
||||
*model.SysTenantStatusParam
|
||||
}
|
||||
|
||||
type SysTenantStatusRes struct {
|
||||
*model.SysTenantStatusModel
|
||||
}
|
||||
|
||||
type SysTenantViewReq struct {
|
||||
g.Meta `path:"/tenant/view" method:"get" tags:"系统-租户管理" summary:"租户详情" x-check-permission:"cpm:system:tenant:query"`
|
||||
*model.SysTenantViewParam
|
||||
}
|
||||
|
||||
type SysTenantViewRes struct {
|
||||
*model.SysTenantViewModel
|
||||
}
|
||||
|
||||
type SysTenantSyncMenuReq struct {
|
||||
g.Meta `path:"/tenant/syncmenu" method:"post" tags:"系统-租户管理" summary:"同步租户菜单" x-check-permission:"cpm:system:tenant:syncmenu"`
|
||||
*model.SysTenantSyncMenuParam
|
||||
}
|
||||
|
||||
type SysTenantSyncMenuRes struct {
|
||||
*model.SysTenantSyncMenuModel
|
||||
}
|
||||
|
||||
type SysTenantPackageListReq struct {
|
||||
g.Meta `path:"/tenant/package/list" method:"get" tags:"系统-租户管理" summary:"租户套餐列表" x-check-permission:"cpm:system:tenant:package:list"`
|
||||
request.PageInfo
|
||||
model.SysTenantPackageListParam
|
||||
}
|
||||
|
||||
type SysTenantPackageListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.SysTenantPackageListModel `json:"items"`
|
||||
}
|
||||
|
||||
type SysTenantPackageViewReq struct {
|
||||
g.Meta `path:"/tenant/package/view" method:"get" tags:"系统-租户管理" summary:"租户套餐详情" x-check-permission:"cpm:system:tenantPackage:query"`
|
||||
*model.SysTenantPackageViewParam
|
||||
}
|
||||
|
||||
type SysTenantPackageViewRes struct {
|
||||
*model.SysTenantPackageViewModel
|
||||
}
|
||||
|
||||
type SysTenantPackageStatusReq struct {
|
||||
g.Meta `path:"/tenant/package/status" method:"post" tags:"系统-租户管理" summary:"租户套餐状态" x-check-permission:"cpm:system:tenantPackage:edit"`
|
||||
*model.SysTenantPackageStatusParam
|
||||
}
|
||||
|
||||
type SysTenantPackageStatusRes struct {
|
||||
*model.SysTenantPackageStatusModel
|
||||
}
|
||||
|
||||
type SysTenantPackageAddReq struct {
|
||||
g.Meta `path:"/tenant/package/add" method:"post" tags:"系统-租户管理" summary:"租户套餐添加" x-check-permission:"cpm:system:tenantPackage:add"`
|
||||
*model.SysTenantPackageAddParam
|
||||
}
|
||||
|
||||
type SysTenantPackageAddRes struct {
|
||||
*model.SysTenantPackageAddModel
|
||||
}
|
||||
|
||||
type SysTenantPackageEditReq struct {
|
||||
g.Meta `path:"/tenant/package/edit" method:"post" tags:"系统-租户管理" summary:"租户套餐编辑" x-check-permission:"cpm:system:tenantPackage:edit"`
|
||||
*model.SysTenantPackageEditParam
|
||||
}
|
||||
|
||||
type SysTenantPackageEditRes struct {
|
||||
*model.SysTenantPackageEditModel
|
||||
}
|
||||
|
||||
type SysTenantPackageDeleteReq struct {
|
||||
g.Meta `path:"/tenant/package/delete" method:"post" tags:"系统-租户管理" summary:"租户套餐删除" x-check-permission:"cpm:system:tenantPackage:remove"`
|
||||
*model.SysTenantPackageDeleteParam
|
||||
}
|
||||
|
||||
type SysTenantPackageDeleteRes struct {
|
||||
*model.SysTenantPackageDeleteModel
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
// Package ttplatformsetting
|
||||
// @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 //ttplatformsetting
|
||||
|
||||
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 TTplatformSettingListReq struct {
|
||||
g.Meta `path:"/tTplatformSetting/list" method:"get" tags:"二级表" summary:"表" summary:"获取二级域名站点个性化配置表列表" x-check-permission:"cpm:system:tTplatformSetting:list"`
|
||||
model.TTplatformSettingListParam
|
||||
}
|
||||
|
||||
type TTplatformSettingListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TTplatformSettingListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出二级域名站点个性化配置表列表
|
||||
type TTplatformSettingExportReq struct {
|
||||
g.Meta `path:"/tTplatformSetting/export" method:"post" tags:"二级表" summary:"导出二级域名站点个性化配置表列表" x-check-permission:"cpm:system:tTplatformSetting:export"`
|
||||
model.TTplatformSettingListParam
|
||||
}
|
||||
|
||||
type TTplatformSettingExportRes struct{}
|
||||
|
||||
// ViewReq 获取二级域名站点个性化配置表指定信息
|
||||
type TTplatformSettingViewReq struct {
|
||||
g.Meta `path:"/tTplatformSetting/view" method:"get" tags:"二级表" summary:"获取二级域名站点个性化配置表指定信息" x-check-permission:"cpm:system:tTplatformSetting:view"`
|
||||
model.TTplatformSettingViewParam
|
||||
}
|
||||
|
||||
type TTplatformSettingViewRes struct {
|
||||
*model.TTplatformSettingViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增二级域名站点个性化配置表
|
||||
type TTplatformSettingEditReq struct {
|
||||
g.Meta `path:"/tTplatformSetting/edit" method:"post" tags:"二级表" summary:"修改/新增二级域名站点个性化配置表" x-check-permission:"cpm:system:tTplatformSetting:edit"`
|
||||
model.TTplatformSettingEditParam
|
||||
}
|
||||
|
||||
type TTplatformSettingEditRes struct{}
|
||||
|
||||
// DeleteReq 删除二级域名站点个性化配置表
|
||||
type TTplatformSettingDeleteReq struct {
|
||||
g.Meta `path:"/tTplatformSetting/delete" method:"post" tags:"二级表" summary:"删除二级域名站点个性化配置表" x-check-permission:"cpm:system:tTplatformSetting:delete"`
|
||||
model.TTplatformSettingDeleteParam
|
||||
}
|
||||
|
||||
type TTplatformSettingDeleteRes struct{}
|
||||
|
||||
// MaxSortReq 获取二级域名站点个性化配置表最大排序
|
||||
type TTplatformSettingMaxSortReq struct {
|
||||
g.Meta `path:"/tTplatformSetting/maxSort" method:"get" tags:"二级域名站点个性化配置表" summary:"获取二级域名站点个性化配置表最大排序" x-check-permission:"cpm:system:tTplatformSetting:maxSort"`
|
||||
model.TTplatformSettingMaxSortParam
|
||||
}
|
||||
|
||||
type TTplatformSettingMaxSortRes struct {
|
||||
*model.TTplatformSettingMaxSortModel
|
||||
}
|
||||
|
||||
// StatusReq 更新二级域名站点个性化配置表状态
|
||||
type TTplatformSettingStatusReq struct {
|
||||
g.Meta `path:"/tTplatformSetting/status" method:"post" tags:"二级域名站点个性化配置表" summary:"更新二级域名站点个性化配置表状态" x-check-permission:"cpm:system:tTplatformSetting:status"`
|
||||
model.TTplatformSettingStatusParam
|
||||
}
|
||||
|
||||
type TTplatformSettingStatusRes struct{}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user