feat:完善租户端注册时的用户协议功能
This commit is contained in:
1 parent
a1f637fb2a
commit
73ab89d551
8 files changed
+79
-147
No files matched your search
@@ -35,7 +35,7 @@ type TenantAgreementAcceptRes struct{}
|
||||
// --- 公开端点(登录/注册页面使用,无需认证) ---
|
||||
|
||||
type AgreementCurrentListReq struct {
|
||||
g.Meta `path:"/agreements/current" method:"get" mime:"json" tags:"公开-用户协议" summary:"所有当前生效的协议列表" group:"public" middleware:"-"`
|
||||
g.Meta `path:"/agreements/current" method:"get" mime:"json" tags:"公开-用户协议" summary:"所有当前生效的协议列表" middleware:"-"`
|
||||
}
|
||||
|
||||
type PublicAgreementItem struct {
|
||||
@@ -52,7 +52,7 @@ type AgreementCurrentListRes struct {
|
||||
}
|
||||
|
||||
type AgreementCurrentGetReq struct {
|
||||
g.Meta `path:"/agreements/current/{code}" method:"get" mime:"json" tags:"公开-用户协议" summary:"按标识码获取当前协议详情" group:"public" middleware:"-"`
|
||||
g.Meta `path:"/agreements/current/{code}" method:"get" mime:"json" tags:"公开-用户协议" summary:"按标识码获取当前协议详情" middleware:"-"`
|
||||
Code string `json:"code" in:"path" v:"required|length:1,50"`
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user