1
This commit is contained in:
@@ -650,7 +650,7 @@ func (s *DefScheduler) OnWaybillStatusChanged(bill *model.Waybill, isPending boo
|
|||||||
//针对快送的订单(订单接单后会立马召唤骑手,不会到自动拣货完成)
|
//针对快送的订单(订单接单后会立马召唤骑手,不会到自动拣货完成)
|
||||||
//如果骑手已接单,没有通知过的门店,需要发送通知
|
//如果骑手已接单,没有通知过的门店,需要发送通知
|
||||||
if bill.Status == model.WaybillStatusAccepted && order.NotifyType == 0 {
|
if bill.Status == model.WaybillStatusAccepted && order.NotifyType == 0 {
|
||||||
smsmsg.NotifyPickOrder(order)
|
//smsmsg.NotifyPickOrder(order)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 订单处于配送状态来的新分配骑手运单
|
// 订单处于配送状态来的新分配骑手运单
|
||||||
|
|||||||
@@ -17,12 +17,12 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestSendSMSMsg(t *testing.T) {
|
func TestSendSMSMsg(t *testing.T) {
|
||||||
err := SendVoiceMsg([]string{"18981810340"}, "tts_222871733", map[string]interface{}{
|
//err := SendVoiceMsg([]string{"18981810340"}, "tts_222871733", map[string]interface{}{
|
||||||
"tel": "18981810340",
|
// "tel": "18981810340",
|
||||||
})
|
//})
|
||||||
aa := map[string]interface{}{"tel": "13957767601"}
|
aa := map[string]interface{}{"tel": "18981810340"}
|
||||||
request := &dyvmsapiclient.SingleCallByTtsRequest{
|
request := &dyvmsapiclient.SingleCallByTtsRequest{
|
||||||
CalledNumber: tea.String("13957767601"),
|
CalledNumber: tea.String("18981810340"),
|
||||||
TtsCode: tea.String("tts_222871733"),
|
TtsCode: tea.String("tts_222871733"),
|
||||||
TtsParam: tea.String(string(utils.MustMarshal(aa))),
|
TtsParam: tea.String(string(utils.MustMarshal(aa))),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user