Browse Source

测试发送消息

master
guzeng 3 years ago
parent
commit
c6d8cea871
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      send_uniform_message.client_test.go

+ 7
- 7
send_uniform_message.client_test.go View File

@ -19,13 +19,13 @@ func Test_SendUniformMessage(t *testing.T) {
"pagepath": "pages/index/index",
}
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)


Loading…
Cancel
Save