...
|
...
|
@@ -205,8 +205,9 @@ const yohood = { |
|
|
let {uid, couponId} = req.query;
|
|
|
|
|
|
// console.log(uid, couponId);
|
|
|
uid = parseInt(uid, 10);
|
|
|
|
|
|
if (!uid || uid === '0' || !couponId) {
|
|
|
if (!uid || !couponId) {
|
|
|
return res.json({
|
|
|
code: 400,
|
|
|
message: INVALID_PARAMS
|
...
|
...
|
|