浏览代码

feat:增加分类

wangchuanjin 1 年之前
父节点
当前提交
10a4f26562
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      rpc/internal/common/appPush.go

+ 2 - 0
rpc/internal/common/appPush.go

@@ -47,6 +47,8 @@ func AppPushMsg(userInfo map[string]interface{}, sth, appPushUrl, title, detail
 				if appVersion > "3.0.3" {
 					if sth == "o_msg_privateletter" {
 						category = "私信"
+					} else if sth == "o_msg_pending" {
+						category = "服务通知_工作事项"
 					}
 					if err := AppGrpcPush(dt, otherPushId, jgPushId, phoneType, appPushUrl, category); err != nil {
 						return err