Showing
1 changed file
with
3 additions
and
1 deletions
@@ -163,7 +163,9 @@ exports.receiveCoupons = (req, res, next) => { | @@ -163,7 +163,9 @@ exports.receiveCoupons = (req, res, next) => { | ||
163 | openId: openId | 163 | openId: openId |
164 | }).then((result) => { | 164 | }).then((result) => { |
165 | if (result.code === 200) { | 165 | if (result.code === 200) { |
166 | - result.data.goUrl = result.data.goUrl + '?sign=' + md5(result.data.couponAmount + secretKey); | 166 | + result.data.goUrl = result.data.goUrl + |
167 | + '?amount=' + result.data.couponAmount + | ||
168 | + '&sign=' + md5(result.data.couponAmount + secretKey); | ||
167 | } | 169 | } |
168 | res.json(result); | 170 | res.json(result); |
169 | }).catch(next); | 171 | }).catch(next); |
-
Please register or login to post a comment