소스 검색

fix:代用户下单app增加参数

duxin 2 년 전
부모
커밋
f08996fdd2
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      src/jfw/modules/subscribepay/src/util/sellerOrder.go

+ 1 - 3
src/jfw/modules/subscribepay/src/util/sellerOrder.go

@@ -104,8 +104,7 @@ func SendStationMessages(href, userId, action, msgType, title, content, link, an
 		ret  MessageRet
 		cont []byte
 	)
-
-	user, _ := MQFW.FindById("user", userId, "base_user_id")
+	user, _ := MQFW.FindById("user", userId, `{"base_user_id":1}`)
 	if user != nil && qutil.IntAll((*user)["base_user_id"]) > 0 {
 		var token string
 		identityList := config.Middleground.UserCenter.IdentityList(qutil.Int64All((*user)["base_user_id"]))
@@ -128,7 +127,6 @@ func SendStationMessages(href, userId, action, msgType, title, content, link, an
 		}
 		if token != "" {
 			androidUrl = fmt.Sprintf("%s&identity=%s", androidUrl, token)
-			iosUrl = fmt.Sprintf("%s&identity=%s", iosUrl, token)
 		}
 	}