Authored by zhangxiaoru

格式URL

@@ -33,27 +33,27 @@ module.exports = () => { @@ -33,27 +33,27 @@ module.exports = () => {
33 33
34 if (/^\/help\/limitcodeColSize/.test(req.url)) { 34 if (/^\/help\/limitcodeColSize/.test(req.url)) {
35 // 选择限购码颜色和尺寸 兼容PHP的url 35 // 选择限购码颜色和尺寸 兼容PHP的url
36 - req.url = `/service/limitcodeColSize`; 36 + req.url = '/service/limitcodeColSize';
37 } 37 }
38 38
39 if (/^\/help\/limitcodeHelp/.test(req.url)) { 39 if (/^\/help\/limitcodeHelp/.test(req.url)) {
40 // 如何获得限购码 兼容PHP的url 40 // 如何获得限购码 兼容PHP的url
41 - req.url = `/service/limitcodeHelp`; 41 + req.url = '/service/limitcodeHelp';
42 } 42 }
43 43
44 if (/^\/help\/shareorder\.html/.test(req.url)) { 44 if (/^\/help\/shareorder\.html/.test(req.url)) {
45 // 晒单 兼容PHP的url 45 // 晒单 兼容PHP的url
46 - req.url = `/service/shareorder`; 46 + req.url = '/service/shareorder';
47 } 47 }
48 48
49 if (/^\/index\/systemUpdate/.test(req.url)) { 49 if (/^\/index\/systemUpdate/.test(req.url)) {
50 // 升级公告 兼容PHP的url 50 // 升级公告 兼容PHP的url
51 - req.url = `/service/systemUpdate`; 51 + req.url = '/service/systemUpdate';
52 } 52 }
53 53
54 if (/^\/coupon\/couponSend/.test(req.url)) { 54 if (/^\/coupon\/couponSend/.test(req.url)) {
55 // 获取优惠券 兼容php的url 55 // 获取优惠券 兼容php的url
56 - req.url = `/activity/couponSend`; 56 + req.url = '/activity/couponSend';
57 } 57 }
58 58
59 next(); 59 next();