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"])