Showing
9 changed files
with
10 additions
and
10 deletions
@@ -35,4 +35,4 @@ exports.sendcoupon = (req, res, next) => { | @@ -35,4 +35,4 @@ exports.sendcoupon = (req, res, next) => { | ||
35 | couponModel.sendcoupon(req.query.id, req.user.uid).then(result => { | 35 | couponModel.sendcoupon(req.query.id, req.user.uid).then(result => { |
36 | res.json(result); | 36 | res.json(result); |
37 | }).catch(next); | 37 | }).catch(next); |
38 | -}; | ||
38 | +}; |
@@ -22,4 +22,4 @@ router.get('/coupon/index', coupon.index); | @@ -22,4 +22,4 @@ router.get('/coupon/index', coupon.index); | ||
22 | router.get('/coupon/couponstatus', coupon.getCouponStatus); | 22 | router.get('/coupon/couponstatus', coupon.getCouponStatus); |
23 | router.get('/coupon/sendcoupon', auth, coupon.sendcoupon); | 23 | router.get('/coupon/sendcoupon', auth, coupon.sendcoupon); |
24 | 24 | ||
25 | -module.exports = router; | ||
25 | +module.exports = router; |
@@ -13,7 +13,7 @@ var express = require('express'), | @@ -13,7 +13,7 @@ var express = require('express'), | ||
13 | var app = express(); | 13 | var app = express(); |
14 | 14 | ||
15 | // set view engin | 15 | // set view engin |
16 | -var doraemon = path.join(__dirname, '../../doraemon/views'); //parent view root | 16 | +var doraemon = path.join(__dirname, '../../doraemon/views'); // parent view root |
17 | 17 | ||
18 | app.on('mount', function(parent) { | 18 | app.on('mount', function(parent) { |
19 | delete parent.locals.settings; // 不继承父 App 的设置 | 19 | delete parent.locals.settings; // 不继承父 App 的设置 |
@@ -238,7 +238,7 @@ exports.getStudentsList = (params, channel) => { | @@ -238,7 +238,7 @@ exports.getStudentsList = (params, channel) => { | ||
238 | 238 | ||
239 | // 获取商品数据和顶部筛选条件 | 239 | // 获取商品数据和顶部筛选条件 |
240 | if (result[2].code === 200) { | 240 | if (result[2].code === 200) { |
241 | - //删掉student_price,不让页面显示 | 241 | + // 删掉student_price,不让页面显示 |
242 | _.forEach(result[2].data.product_list, goods => { | 242 | _.forEach(result[2].data.product_list, goods => { |
243 | delete goods.student_price; | 243 | delete goods.student_price; |
244 | }); | 244 | }); |
@@ -205,7 +205,7 @@ function getCouponStatus() { | @@ -205,7 +205,7 @@ function getCouponStatus() { | ||
205 | child[i].classList.remove('hidden'); | 205 | child[i].classList.remove('hidden'); |
206 | } | 206 | } |
207 | } | 207 | } |
208 | - }) | 208 | + }); |
209 | } | 209 | } |
210 | } | 210 | } |
211 | }); | 211 | }); |
@@ -220,4 +220,4 @@ $('.info').on('click', function(e) { | @@ -220,4 +220,4 @@ $('.info').on('click', function(e) { | ||
220 | requestCoupon($(this).closest('a').data('id')); | 220 | requestCoupon($(this).closest('a').data('id')); |
221 | redirect.gunangSrc = $(this).closest('a').get(0).href; | 221 | redirect.gunangSrc = $(this).closest('a').get(0).href; |
222 | } | 222 | } |
223 | -}); | ||
223 | +}); |
@@ -824,7 +824,7 @@ $(function() { | @@ -824,7 +824,7 @@ $(function() { | ||
824 | $('#stuRights .stu-rights-item:eq(0), #stuRights .stu-rights-item:eq(1),' + | 824 | $('#stuRights .stu-rights-item:eq(0), #stuRights .stu-rights-item:eq(1),' + |
825 | '#stuRights .stu-rights-item:eq(2), #stuRights .stu-rights-item:eq(3)').hover(function() { | 825 | '#stuRights .stu-rights-item:eq(2), #stuRights .stu-rights-item:eq(3)').hover(function() { |
826 | var content = $(this).find('.item-content'); | 826 | var content = $(this).find('.item-content'); |
827 | - | 827 | + |
828 | var gapHeight; | 828 | var gapHeight; |
829 | 829 | ||
830 | content.removeClass('hide'); | 830 | content.removeClass('hide'); |
-
Please register or login to post a comment