更新门店cid

This commit is contained in:
苏尹岚
2020-09-11 17:29:56 +08:00
parent 059b0c7557
commit 1d6ad5f06d
6 changed files with 70 additions and 2 deletions

View File

@@ -686,13 +686,13 @@ func (*StoreCategoryMap) TableUnique() [][]string {
}
}
type StoreClientPush struct {
type StorePushClient struct {
ModelIDCULD
StoreID int `orm:"column(store_id)" json:"storeID"`
ClientID string `orm:"column(client_id);size(255)" json:"clientID"`
}
func (*StoreClientPush) TableUnique() [][]string {
func (*StorePushClient) TableUnique() [][]string {
return [][]string{
[]string{"StoreID", "ClientID"},
}