Merge branch 'hotfix/unionData' into 'release/5.4.1'
下单 union data参数 See merge request !306
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -223,7 +223,7 @@ exports.orderSub = (req, res, next) => { | @@ -223,7 +223,7 @@ exports.orderSub = (req, res, next) => { | ||
223 | unionKey = testQyhUnion.client_id ? encryData : ''; | 223 | unionKey = testQyhUnion.client_id ? encryData : ''; |
224 | } | 224 | } |
225 | } else { | 225 | } else { |
226 | - unionKey = '{"client_id":' + req.cookies.mkt_code + '}'; | 226 | + unionKey = '{"client_id":' + req.cookies.mkt_code + (req.cookies.union_data ? ',"union_data":' + req.cookies.union_data : '') + '}'; |
227 | } | 227 | } |
228 | 228 | ||
229 | /* 检查联盟参数是否有效 */ | 229 | /* 检查联盟参数是否有效 */ |
-
Please register or login to post a comment