1
This commit is contained in:
@@ -31,7 +31,7 @@ type BusinessSendMsgReq struct {
|
||||
PlatformShopId string `json:"platformShopId"` // 平台门店id
|
||||
BizType string `json:"bizType"` // 业务类型,IM消息。默认值:IM
|
||||
SubBizType string `json:"subBizType"` // 子业务类型,发送消息。默认值:SEND_MESSAGE
|
||||
Payload BusinessMsgPayload `json:"payload"`
|
||||
PayLoad BusinessMsgPayload `json:"payLoad"`
|
||||
}
|
||||
|
||||
type BusinessMsgPayload struct {
|
||||
|
||||
@@ -29,7 +29,7 @@ func TestSendMsg(t *testing.T) {
|
||||
PlatformShopId: "1157916361",
|
||||
BizType: IMType,
|
||||
SubBizType: IMTypeSendMsg,
|
||||
Payload: BusinessMsgPayload{
|
||||
PayLoad: BusinessMsgPayload{
|
||||
GroupId: "$2$13205337818$PNM",
|
||||
ReceiverIds: []string{"301157916361", "10154538612", "321921188187760"},
|
||||
Content: "{\"text\": \"现在是20231027 10:04:44\"}",
|
||||
|
||||
Reference in New Issue
Block a user