...
|
...
|
@@ -217,8 +217,8 @@ const yohood = { |
|
|
|
|
|
let couponDetail = await req.ctx(YohoodModel).getCouponDetail(uid, couponId);
|
|
|
|
|
|
// console.log('couponDetail:', couponDetail);
|
|
|
// console.log('couponInfo', couponInfo.data[0].coupon_num);
|
|
|
console.log('couponDetail:', couponDetail, uid, couponId);
|
|
|
console.log('couponInfo', couponInfo.data[0].coupon_num);
|
|
|
|
|
|
if (couponDetail.code === 200 && couponDetail.data.length > 0) {
|
|
|
return res.json(couponDetail);
|
...
|
...
|
|