实现商户注册、管理员审核商户申请接口
This commit is contained in:
46
internal/model/merchant_admin.go
Normal file
46
internal/model/merchant_admin.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user