21 lines
862 B
Go
21 lines
862 B
Go
package partner
|
|
|
|
import (
|
|
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
|
|
"git.rosy.net.cn/jx-callback/business/model/dao"
|
|
)
|
|
|
|
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)
|
|
}
|