|
@ -19,13 +19,13 @@ func Test_SendUniformMessage(t *testing.T) { |
|
|
"pagepath": "pages/index/index", |
|
|
"pagepath": "pages/index/index", |
|
|
} |
|
|
} |
|
|
data := map[string]map[string]string{ |
|
|
data := map[string]map[string]string{ |
|
|
"first": map[string]string{"value": "来新订单了"}, |
|
|
|
|
|
"keyword1": map[string]string{"value": "订单号是。。。"}, |
|
|
|
|
|
"keyword2": map[string]string{"value": "取货位置"}, |
|
|
|
|
|
"keyword3": map[string]string{"value": "收货人"}, |
|
|
|
|
|
"keyword4": map[string]string{"value": "联系电话"}, |
|
|
|
|
|
"keyword5": map[string]string{"value": "收货地址"}, |
|
|
|
|
|
"remark": map[string]string{"value": "这是备注"}, |
|
|
|
|
|
|
|
|
"first": map[string]string{"value": "小程序商城来新订单了"}, |
|
|
|
|
|
"keyword1": map[string]string{"value": "2002030211223"}, |
|
|
|
|
|
"keyword2": map[string]string{"value": "五饭堂-沙县小吃"}, |
|
|
|
|
|
"keyword3": map[string]string{"value": "王小二"}, |
|
|
|
|
|
"keyword4": map[string]string{"value": "13022336652"}, |
|
|
|
|
|
"keyword5": map[string]string{"value": "5号宿舍"}, |
|
|
|
|
|
"remark": map[string]string{"value": "下单备注"}, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// data_json, _ := json.Marshal(data)
|
|
|
// data_json, _ := json.Marshal(data)
|
|
|