This commit is contained in:
gazebo
2019-08-21 16:34:49 +08:00
parent 8e284beba0
commit e626d4242f
2 changed files with 17 additions and 4 deletions

View File

@@ -366,10 +366,10 @@ type StoreMap struct {
DeliveryFee int `json:"deliveryFee"`
DeliveryCompetition int8 `orm:"default(1)" json:"deliveryCompetition"` // 是否支持配送竞争
SyncStatus int8 `orm:"default(2)" json:"syncStatus"`
IsSync int8 `orm:"default(1)" json:"isSync"` // 是否同步
FakeOpenStart time.Time `orm:"null" json:"fakeOpenStart"` // 假开店开始
FakeOpenStop time.Time `orm:"null" json:"fakeOpenStop"` // 假开店结束
SyncStatus int8 `orm:"default(2)" json:"syncStatus"`
IsSync int8 `orm:"default(1)" json:"isSync"` // 是否同步
// FakeOpenStart time.Time `orm:"null" json:"fakeOpenStart"` // 假开店开始
// FakeOpenStop time.Time `orm:"null" json:"fakeOpenStop"` // 假开店结束
}
func (*StoreMap) TableUnique() [][]string {

View File

@@ -0,0 +1,13 @@
package partner
type IAPIManager interface {
GetAPI(vendorID int, orgCode string) interface{}
}
var (
CurAPIManager IAPIManager
)
func InitAPIManager(curAPIManager IAPIManager) {
CurAPIManager = curAPIManager
}