|
@@ -446,7 +446,7 @@ func MultSave(this message.MultipleSaveMsgReq) (int64, string) {
|
|
}
|
|
}
|
|
} else {*/
|
|
} else {*/
|
|
in = entity.Mysql.InsertBySql(sql3, common.If(positionId != 0, positionId, nil))
|
|
in = entity.Mysql.InsertBySql(sql3, common.If(positionId != 0, positionId, nil))
|
|
- logx.Info("插入消息返回 in1 id:", in)
|
|
|
|
|
|
+ logx.Info("插入消息返回 in1 id:", in, this.MsgType, v)
|
|
if in > -1 {
|
|
if in > -1 {
|
|
ok := MsgCountAdd(v, this.Appid, util.Int64All(group_id))
|
|
ok := MsgCountAdd(v, this.Appid, util.Int64All(group_id))
|
|
if !ok {
|
|
if !ok {
|
|
@@ -470,7 +470,7 @@ func MultSave(this message.MultipleSaveMsgReq) (int64, string) {
|
|
nTime = this.OrderMoney
|
|
nTime = this.OrderMoney
|
|
}
|
|
}
|
|
// 消息模版 工单类型 {{thing19.DATA}} 工单标题 {{thing6.DATA}} 项目名称 {{thing13.DATA}} 服务时间 {{time25.DATA}} 服务地址 {{thing26.DATA}}
|
|
// 消息模版 工单类型 {{thing19.DATA}} 工单标题 {{thing6.DATA}} 项目名称 {{thing13.DATA}} 服务时间 {{time25.DATA}} 服务地址 {{thing26.DATA}}
|
|
- if !(this.MsgType == 1) && this.MsgType != 10 {
|
|
|
|
|
|
+ if this.MsgType != 1 && this.MsgType != 10 {
|
|
err = p.SendMsg(this.WxPushUrl, this.Title, this.Content, nTime, this.Row4)
|
|
err = p.SendMsg(this.WxPushUrl, this.Title, this.Content, nTime, this.Row4)
|
|
if err != nil {
|
|
if err != nil {
|
|
logx.Error(fmt.Sprintf("SendWxTmplMsg uId %s Error %s", v, err.Error()))
|
|
logx.Error(fmt.Sprintf("SendWxTmplMsg uId %s Error %s", v, err.Error()))
|