Authored by yyq

fix ctx

@@ -61,7 +61,7 @@ const convertCoupons = (req, res, next) => { @@ -61,7 +61,7 @@ const convertCoupons = (req, res, next) => {
61 61
62 // 获取礼品卡列表 62 // 获取礼品卡列表
63 const getGiftCards = (req, res, next) => { 63 const getGiftCards = (req, res, next) => {
64 - req.ctx(oeModel)..getGiftCards(req.user.uid).then(data => { 64 + req.ctx(oeModel).getGiftCards(req.user.uid).then(data => {
65 if (data.data) { 65 if (data.data) {
66 data.data.userMobile = req.user.mobile; 66 data.data.userMobile = req.user.mobile;
67 } 67 }