- 重构RefreshOrderRealMobile

This commit is contained in:
gazebo
2019-03-28 15:09:23 +08:00
parent cd99fc3e14
commit 24af4bc330
8 changed files with 78 additions and 63 deletions

View File

@@ -1,6 +1,7 @@
package mtwm
import (
"errors"
"fmt"
"net/url"
"time"
@@ -276,8 +277,9 @@ func getTimeFromTimestamp(timeStamp int64) time.Time {
return utils.Timestamp2Time(timeStamp)
}
func (c *PurchaseHandler) RefreshRealMobile(ctx *jxcontext.Context, fromTime, toTime time.Time, isAsync, isContinueWhenError bool) (hint string, err error) {
return hint, err
func (c *PurchaseHandler) GetOrderRealMobile(ctx *jxcontext.Context, order *model.GoodsOrder) (mobile string, err error) {
err = errors.New("美团外卖还未实现GetOrderRealMobile")
return mobile, err
}
func (c *PurchaseHandler) GetStatusActionTimeout(order *model.GoodsOrder, statusType, status int) (params *partner.StatusActionParams) {