35 lines
981 B
Go
35 lines
981 B
Go
package elm
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
|
|
"git.rosy.net.cn/jx-callback/business/jxutils/tasksch"
|
|
"git.rosy.net.cn/jx-callback/business/model"
|
|
"git.rosy.net.cn/jx-callback/business/model/dao"
|
|
)
|
|
|
|
func (p *PurchaseHandler) ReadStore(vendorStoreID string) (*model.Store, error) {
|
|
return nil, errors.New("饿了么还没实现")
|
|
}
|
|
|
|
func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName string) error {
|
|
return nil
|
|
}
|
|
|
|
func (p *PurchaseHandler) RefreshAllStoresID(ctx *jxcontext.Context, parentTask tasksch.ITask, isAsync bool) (hint string, err error) {
|
|
return hint, err
|
|
}
|
|
|
|
// func (p *PurchaseHandler) EnableAutoAcceptOrder(vendorStoreID string, isEnabled bool) error {
|
|
// return nil
|
|
// }
|
|
|
|
// func (p *PurchaseHandler) OpenStore(vendorStoreID string, userName string) error {
|
|
// return nil
|
|
// }
|
|
|
|
// func (p *PurchaseHandler) CloseStore(vendorStoreID, closeNotice, userName string) error {
|
|
// return nil
|
|
// }
|