发送消息
POST
/api/base/chat/sendInfo
接口描述
发送消息
请求头
参数名
类型
描述
必填
Content-Type
String
application/json
必填
token
string
必填
请求参数
参数名
类型
描述
必填
owner_id
string
自己id
必填
owner_type
string
自己类型.employee:雇员;store:门店
必填
party_id
string
对方id
必填
party_type
string
对方类型。employee:雇员;store:门店
必填
info_type
string
消息类型。0:文本;1:图片;2:json数据
必填
content
string
发送内容
必填
请求示例
响应参数
参数名
类型
描述
必填
flag
int
返回状态 示例:0
必填
msg
string
返回消息 示例:success
必填
val
string
发送消息的id
必填