- fk
This commit is contained in:
@@ -366,10 +366,10 @@ type StoreMap struct {
|
|||||||
DeliveryFee int `json:"deliveryFee"`
|
DeliveryFee int `json:"deliveryFee"`
|
||||||
DeliveryCompetition int8 `orm:"default(1)" json:"deliveryCompetition"` // 是否支持配送竞争
|
DeliveryCompetition int8 `orm:"default(1)" json:"deliveryCompetition"` // 是否支持配送竞争
|
||||||
|
|
||||||
SyncStatus int8 `orm:"default(2)" json:"syncStatus"`
|
SyncStatus int8 `orm:"default(2)" json:"syncStatus"`
|
||||||
IsSync int8 `orm:"default(1)" json:"isSync"` // 是否同步
|
IsSync int8 `orm:"default(1)" json:"isSync"` // 是否同步
|
||||||
FakeOpenStart time.Time `orm:"null" json:"fakeOpenStart"` // 假开店开始
|
// FakeOpenStart time.Time `orm:"null" json:"fakeOpenStart"` // 假开店开始
|
||||||
FakeOpenStop time.Time `orm:"null" json:"fakeOpenStop"` // 假开店结束
|
// FakeOpenStop time.Time `orm:"null" json:"fakeOpenStop"` // 假开店结束
|
||||||
}
|
}
|
||||||
|
|
||||||
func (*StoreMap) TableUnique() [][]string {
|
func (*StoreMap) TableUnique() [][]string {
|
||||||
|
|||||||
13
business/partner/partner_api.go
Normal file
13
business/partner/partner_api.go
Normal 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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user