This commit is contained in:
suyl
2021-07-19 11:05:29 +08:00
parent 91abfc8835
commit 10fb5c7cb1

View File

@@ -68,8 +68,8 @@ type User struct {
ProfitSum int `json:"profitSum"`
Arrears int `json:"arrears"`
BindStoreID int `orm:"column(bind_store_id)" json:"bind_store_id"` //门店老板账号用,表示绑的哪个门店,后权限用
BindStoreUser string `json:"bind_store_user"` //表示绑的哪个账号,密码同这个账号
BindStoreID int `orm:"column(bind_store_id)" json:"bindStoreID"` //门店老板账号用,表示绑的哪个门店,后权限用
BindStoreUser string `json:"bindStoreUser"` //表示绑的哪个账号,密码同这个账号
}
func (*User) TableUnique() [][]string {