1
This commit is contained in:
@@ -504,7 +504,7 @@ func PrintStoreStatus(param map[string]string, setting *model.PrintSettingObj) s
|
||||
// SyntheticSpeech 合成语音 (美团xxx号订单)
|
||||
func SyntheticSpeech(printVoiceMsg string, printVoiceValue []interface{}, param map[string]string) (string, []interface{}) {
|
||||
printVoiceMsg += `<sound>%d</sound>` // 美团
|
||||
switch param[model.VendOrIDPrint] {
|
||||
switch param[model.VendorIDPrint] {
|
||||
case utils.Int2Str(model.VendorIDJD): // 京东
|
||||
printVoiceValue = append(printVoiceValue, model.JdVoice)
|
||||
case utils.Int2Str(model.VendorIDMTWM): // 美团
|
||||
|
||||
@@ -125,7 +125,7 @@ const (
|
||||
TrySendTimePrint = "trySendTime" // 预计送达时间
|
||||
OrderNoPrint = "orderNo" // 订单编号
|
||||
VendorNamePrint = "vendorName" // 订单来源平台名称
|
||||
VendOrIDPrint = "vendOrID" // 订单来源平台id
|
||||
VendorIDPrint = "vendorID" // 订单来源平台id
|
||||
VendorOrderNoPrint = "vendorOrderNo" // 订单序号1/2/
|
||||
EBaiCodePrint = "eBailCode" // 饿百取货码
|
||||
QRCOrderPrint = "qRCOrder" // 订单二维码单号,还是订单Id
|
||||
|
||||
Reference in New Issue
Block a user