添加京东im
This commit is contained in:
@@ -47,6 +47,7 @@ type UserMessageList struct {
|
||||
NewMessageNum int `json:"NewMessageNum"` //新消息数量
|
||||
LatestMsg string `json:"latestMsg"` //最新一条消息
|
||||
LatestTime int `json:"latestTime"` //最新一条消息发送时间
|
||||
MsgFrom string `json:"msgFrom"` // 京东消息来源
|
||||
}
|
||||
|
||||
type RelInfo struct {
|
||||
@@ -67,17 +68,12 @@ type StoreTemplate struct {
|
||||
}
|
||||
|
||||
var (
|
||||
rdb = api.Cacher
|
||||
VendorIDMT = 1 //im美团
|
||||
VendorIDELM = 3 //im饿了么
|
||||
VendorIDJX = 3 //im京西
|
||||
|
||||
VendorIDMTStr = "1" //im美团
|
||||
VendorIDELMStr = "3" //im饿了么
|
||||
rdb = api.Cacher
|
||||
|
||||
SendTypeJx = "jx" //京西客户端发送方标识
|
||||
SendTypeMt = "mt" //美团用户发送方标识符
|
||||
SendTypeElm = "elm" //饿了么用户发送方标识符
|
||||
SendTypeJd = "jd" //京东用户发送方标识符
|
||||
OpTypeAdd = 1 //门店新增或修改自定义回复模板
|
||||
OpTypeGet = 2 //门店获取
|
||||
BaseCusKey = "customReply"
|
||||
|
||||
Reference in New Issue
Block a user