修改上下文参数传递,实现门店登录
This commit is contained in:
18
internal/model/storeAdmin.go
Normal file
18
internal/model/storeAdmin.go
Normal file
@ -0,0 +1,18 @@
|
||||
package model
|
||||
|
||||
type StoreAdminInfoIn struct {
|
||||
StoreAdminId int64
|
||||
}
|
||||
|
||||
type StoreAdminInfoOut struct {
|
||||
Username string
|
||||
}
|
||||
|
||||
type StoreAdminLoginIn struct {
|
||||
Username string
|
||||
Password string
|
||||
}
|
||||
|
||||
type StoreAdminLoginOut struct {
|
||||
Token string
|
||||
}
|
||||
Reference in New Issue
Block a user