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 {
|
||||
smsmsg.NotifyPickOrder(order)
|
||||
//smsmsg.NotifyPickOrder(order)
|
||||
}
|
||||
|
||||
// 订单处于配送状态来的新分配骑手运单
|
||||
|
||||
@@ -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))),
|
||||
}
|
||||
|
||||
@@ -325,7 +325,7 @@ type Store struct {
|
||||
AutoEnableAt *time.Time `orm:"type(datetime);null" json:"autoEnableAt"` // 自动营业时间(临时休息用)
|
||||
ChangePriceType int8 `json:"changePriceType"` // 修改价格类型,即是否需要审核
|
||||
SMSNotify int8 `orm:"column(sms_notify);" json:"smsNotify"` // 是否通过短信接收订单消息(每天只推一条)
|
||||
SMSNotifyMark int8 `orm:"column(sms_notify_mark);" json:"smsNotifyMark"` //今天是否已经推送过订单消息
|
||||
SMSNotifyMark int8 `orm:"column(sms_notify_mark);" json:"smsNotifyMark"` // 今天是否已经推送过订单消息
|
||||
AutoReplyType int8 `json:"autoReplyType"` // 订单评价自动回复类型
|
||||
LinkStoreID int `orm:"column(link_store_id);default(0);index" json:"linkStoreID"` // 关联门店ID
|
||||
StoreLevel string `orm:"default(C);size(32)" json:"storeLevel"` // 门店等级(筛选用,京西的)
|
||||
|
||||
Reference in New Issue
Block a user