v2
This commit is contained in:
@@ -10,7 +10,9 @@ const (
|
||||
BaseTemplate = "您好,特殊天气或节假日可能出现骑手变少,配送延迟等情况,烦请耐心等待,售后及其他问题请联系店长,电话:"
|
||||
LastTemplate = "您好,特殊天气或节假日可能出现骑手变少,配送延迟等情况,烦请耐心等待,售后及其他问题请联系店长" //兜底模板
|
||||
|
||||
BasePhoneNum = "18048531223"
|
||||
BasePhoneNum = "18048531223"
|
||||
BaseUserListKey = "userList"
|
||||
BaseMsgDetailKey = "messageDetail"
|
||||
)
|
||||
|
||||
var AutoReplyByAppID = map[int]string{
|
||||
@@ -60,12 +62,19 @@ type UserRelInfo struct {
|
||||
UserID string `json:"userID"` //用户id/groupID
|
||||
}
|
||||
|
||||
type StoreTemplate struct {
|
||||
Template string `json:"template"`
|
||||
}
|
||||
|
||||
var (
|
||||
rdb = api.Cacher
|
||||
VendorIDMT = 1 //im美团
|
||||
VendorIDELM = 3 //im饿了么
|
||||
VendorIDJX = 3 //im京西
|
||||
|
||||
VendorIDMTStr = "1" //im美团
|
||||
VendorIDELMStr = "3" //im饿了么
|
||||
|
||||
SendTypeJx = "jx" //京西客户端发送方标识
|
||||
SendTypeMt = "mt" //美团用户发送方标识符
|
||||
SendTypeElm = "elm" //饿了么用户发送方标识符
|
||||
@@ -75,5 +84,7 @@ var (
|
||||
)
|
||||
|
||||
const (
|
||||
ExpireTimeDay = 12 * time.Hour //redis过期时间
|
||||
ExpireTimeDay = 12 * time.Hour //redis过期时间
|
||||
ExpireTimeAutoReply = 20 * time.Second //redis过期时间
|
||||
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user