...
|
...
|
@@ -81,7 +81,7 @@ class Reg { |
|
|
regSuccessPage(req, res, next) {
|
|
|
let {activityId = 5475, templateId = 6047} = req.query;
|
|
|
|
|
|
if ((global.yoho.isDev || global.yoho.isTest) && (!req.query.activityId || !req.query.templateId)) {
|
|
|
if ((!global.isProduction) && (!req.query.activityId || !req.query.templateId)) {
|
|
|
activityId = 528;
|
|
|
templateId = 4166;
|
|
|
}
|
...
|
...
|
@@ -93,8 +93,7 @@ class Reg { |
|
|
totalPrice: 0,
|
|
|
normalCoupon: [],
|
|
|
shareCoupon: [],
|
|
|
boughtCoupon: [],
|
|
|
isTest: global.yoho.isTest
|
|
|
boughtCoupon: []
|
|
|
};
|
|
|
|
|
|
_.each(result.data, (couponData) => {
|
...
|
...
|
|