瀏覽代碼

老用户app push修改

renjiaojiao 1 年之前
父節點
當前提交
ba92c7ea0d
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      rpc/internal/common/appPush.go

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

@@ -32,6 +32,12 @@ func AppPushMsg(userInfo map[string]interface{}, sth, appPushUrl, title, detail
 					} else {
 						i_apppush = qutil.Int64All((*pushKeyMap)["i_apppush"])
 					}
+				} else {
+					if (*pushKeyMap)["i_apppush"] == nil {
+						i_apppush = 0
+					} else {
+						i_apppush = qutil.Int64All((*pushKeyMap)["i_apppush"])
+					}
 				}
 			default:
 				i_apppush = qutil.Int64All((*pushKeyMap)["i_apppush"])