Showing
1 changed file
with
3 additions
and
0 deletions
@@ -495,6 +495,9 @@ const userCoupon = (req, res, next) => { | @@ -495,6 +495,9 @@ const userCoupon = (req, res, next) => { | ||
495 | } | 495 | } |
496 | } | 496 | } |
497 | 497 | ||
498 | + cryptCouponId = parseInt(cryptCouponId, 10); | ||
499 | + uid = parseInt(uid, 10); | ||
500 | + | ||
498 | if (uid) { | 501 | if (uid) { |
499 | listModel.receiveCoupon( | 502 | listModel.receiveCoupon( |
500 | uid, | 503 | uid, |
-
Please register or login to post a comment