Authored by 郝肖肖

over amount

@@ -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);