diff --git a/business/model/user.go b/business/model/user.go index e53b92292..8f2f1c738 100644 --- a/business/model/user.go +++ b/business/model/user.go @@ -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 {