This commit is contained in:
邹宗楠
2023-04-21 12:41:50 +08:00
parent 3f6ab1bd91
commit 5331dcd4c5
3 changed files with 7 additions and 7 deletions

View File

@@ -650,7 +650,7 @@ func (s *DefScheduler) OnWaybillStatusChanged(bill *model.Waybill, isPending boo
//针对快送的订单(订单接单后会立马召唤骑手,不会到自动拣货完成)
//如果骑手已接单,没有通知过的门店,需要发送通知
if bill.Status == model.WaybillStatusAccepted && order.NotifyType == 0 {
smsmsg.NotifyPickOrder(order)
//smsmsg.NotifyPickOrder(order)
}
// 订单处于配送状态来的新分配骑手运单

View File

@@ -17,12 +17,12 @@ func init() {
}
func TestSendSMSMsg(t *testing.T) {
err := SendVoiceMsg([]string{"18981810340"}, "tts_222871733", map[string]interface{}{
"tel": "18981810340",
})
aa := map[string]interface{}{"tel": "13957767601"}
//err := SendVoiceMsg([]string{"18981810340"}, "tts_222871733", map[string]interface{}{
// "tel": "18981810340",
//})
aa := map[string]interface{}{"tel": "18981810340"}
request := &dyvmsapiclient.SingleCallByTtsRequest{
CalledNumber: tea.String("13957767601"),
CalledNumber: tea.String("18981810340"),
TtsCode: tea.String("tts_222871733"),
TtsParam: tea.String(string(utils.MustMarshal(aa))),
}