Ver código fonte

feat:增加分类

wangchuanjin 1 ano atrás
pai
commit
10a4f26562
1 arquivos alterados com 2 adições e 0 exclusões
  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