回调
This commit is contained in:
@@ -201,7 +201,7 @@ func (l *ExpressDeliveringLogic) saveDelever(w modelbase.Params, info *dao.Deliv
|
||||
func (l *ExpressDeliveringLogic) getOrderInfo(items *[]dao.DeliveryOrderPrint) utils.Status {
|
||||
for value, item := range *items {
|
||||
obj := &(*items)[value]
|
||||
mobile, aErr := utils.Crypto{}.AESDecryptECB(item.Mobile)
|
||||
mobile, aErr := utils.DecryptPhone(item.Mobile)
|
||||
if aErr == nil {
|
||||
obj.Mobile = mobile
|
||||
}
|
||||
@@ -236,7 +236,6 @@ func (l *ExpressDeliveringLogic) createTransit(info dao.DeliveryOrderPrint, tran
|
||||
func (l *ExpressDeliveringLogic) getDown(client transit.Transit, orders []string, info dao.DeliveryOrderPrint) (transit.TransitResult, error) {
|
||||
ret, err := client.DownSheet(orders, info)
|
||||
if err != nil || len(ret.Files) < utils.NumberOne {
|
||||
l.Logger.Error("get down err ", orders, err, ret)
|
||||
if len(ret.Files) < utils.NumberOne {
|
||||
err = errors.New("files is empty")
|
||||
}
|
||||
@@ -335,7 +334,7 @@ func (l *ExpressDeliveringLogic) cancel(client transit.Transit, w modelbase.Para
|
||||
return
|
||||
}
|
||||
|
||||
ww := modelbase.Params{Eq: map[string]string{"deliver_goods_id": strconv.Itoa(info.Id)}}
|
||||
ww := modelbase.Params{Eq: map[string]string{"delivery_order_id": strconv.Itoa(info.Id)}}
|
||||
editExp := dao.DeliveryExpStatus{
|
||||
Status: utils.StatusFail,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user