This commit is contained in:
苏尹岚
2020-10-14 13:47:11 +08:00
parent accb629e14
commit eb950f11bf
41 changed files with 3581 additions and 1809 deletions

View File

@@ -0,0 +1,19 @@
package partner
import (
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
)
type IStoreHandler interface {
GetAllStoresVendorID(ctx *jxcontext.Context, vendorOrgCode string) (vendorStoreIDs []string, err error)
EnableAutoAcceptOrder(ctx *jxcontext.Context, vendorOrgCode string, storeID int, vendorStoreID string, isSetEnable bool) (err error)
UpdateStoreStatus(ctx *jxcontext.Context, vendorOrgCode string, storeID int, vendorStoreID string, status int) (err error)
// opTime格式为整数1130代表11:30
UpdateStoreOpTime(ctx *jxcontext.Context, vendorOrgCode string, storeID int, vendorStoreID string, opTimeList []int16) (err error)
}
// 同步资质信息至平台
type IStoreSyncQualifyHandler interface {
// SyncQualify(ctx *jxcontext.Context, storeDetail *dao.StoreDetail) (err error)
}