实现商户注册、管理员审核商户申请接口

This commit is contained in:
2025-06-04 15:10:56 +08:00
parent 00b889cfcc
commit caf3d42fe5
63 changed files with 1195 additions and 294 deletions

View File

@ -0,0 +1,46 @@
package model
// MerchantAdmin 商户管理员信息
type MerchantAdmin struct {
}
// MerchantLoginIn 商户登录入参
type MerchantLoginIn struct {
Phone string
Username string
Password string
Code string
}
type MerchantLoginOut struct {
Token string
}
type MerchantAdminInfoIn struct {
MerchantAdminId int64
}
type MerchantAdminInfoOut struct {
*MerchantAdmin
}
type MerchantAdminCodeIn struct {
Phone string
}
type MerchantAdminCodeOut struct {
}
type MerchantAdminVertifyPhoneIn struct {
MerchantAdminId int64
Phone string
Code string
}
type MerchantAdminVertifyPhoneOut struct {
}
type MerchantAdminRegisterIn struct {
Username string
Phone string
Password string
Password2 string
Code string
ApplicationReason string
}
type MerchantAdminRegisterOut struct {
Success bool
}