소스 검색

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