|
@@ -1,12 +1,13 @@
|
|
package logic
|
|
package logic
|
|
|
|
|
|
import (
|
|
import (
|
|
|
|
+ "context"
|
|
|
|
+ "strings"
|
|
|
|
+
|
|
"app.yhyue.com/moapp/MessageCenter/rpc/internal/common"
|
|
"app.yhyue.com/moapp/MessageCenter/rpc/internal/common"
|
|
"app.yhyue.com/moapp/MessageCenter/rpc/internal/svc"
|
|
"app.yhyue.com/moapp/MessageCenter/rpc/internal/svc"
|
|
"app.yhyue.com/moapp/MessageCenter/rpc/type/message"
|
|
"app.yhyue.com/moapp/MessageCenter/rpc/type/message"
|
|
"app.yhyue.com/moapp/jybase/go-xweb/log"
|
|
"app.yhyue.com/moapp/jybase/go-xweb/log"
|
|
- "context"
|
|
|
|
- "strings"
|
|
|
|
|
|
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
)
|
|
)
|
|
@@ -47,7 +48,7 @@ func (l *AppLetterPushLogic) AppLetterPush(in *message.WxTmplMsgRequest) (*messa
|
|
}
|
|
}
|
|
p.Position = uId
|
|
p.Position = uId
|
|
uData := p.GetUserPushInfo()
|
|
uData := p.GetUserPushInfo()
|
|
- if err = common.AppPushMsg(uData, pushConfig.Switch, in.Url, in.Title, in.Detail, in.MsgType); err != nil {
|
|
|
|
|
|
+ if err = common.AppPushMsg(uData, pushConfig.Switch, in.Url, in.Title, in.Detail, in.MsgType, ""); err != nil {
|
|
return &message.SendMsgResponse{
|
|
return &message.SendMsgResponse{
|
|
Total: 0,
|
|
Total: 0,
|
|
Message: err.Error(),
|
|
Message: err.Error(),
|