20 lines
662 B
Go
20 lines
662 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) (vendorStoreIDs []string, err error)
|
|
|
|
UpdateStoreStatus(ctx *jxcontext.Context, storeID int, vendorStoreID string, status int) (err error)
|
|
// opTime格式为整数1130代表11:30
|
|
UpdateStoreOpTime(ctx *jxcontext.Context, storeID int, vendorStoreID string, opTimeList []int16) (err error)
|
|
}
|
|
|
|
// 同步资质信息至平台
|
|
type IStoreSyncQualifyHandler interface {
|
|
SyncQualify(ctx *jxcontext.Context, storeDetail *dao.StoreDetail) (err error)
|
|
}
|