...
|
...
|
@@ -33,27 +33,27 @@ module.exports = () => { |
|
|
|
|
|
if (/^\/help\/limitcodeColSize/.test(req.url)) {
|
|
|
// 选择限购码颜色和尺寸 兼容PHP的url
|
|
|
req.url = `/service/limitcodeColSize`;
|
|
|
req.url = '/service/limitcodeColSize';
|
|
|
}
|
|
|
|
|
|
if (/^\/help\/limitcodeHelp/.test(req.url)) {
|
|
|
// 如何获得限购码 兼容PHP的url
|
|
|
req.url = `/service/limitcodeHelp`;
|
|
|
req.url = '/service/limitcodeHelp';
|
|
|
}
|
|
|
|
|
|
if (/^\/help\/shareorder\.html/.test(req.url)) {
|
|
|
// 晒单 兼容PHP的url
|
|
|
req.url = `/service/shareorder`;
|
|
|
req.url = '/service/shareorder';
|
|
|
}
|
|
|
|
|
|
if (/^\/index\/systemUpdate/.test(req.url)) {
|
|
|
// 升级公告 兼容PHP的url
|
|
|
req.url = `/service/systemUpdate`;
|
|
|
req.url = '/service/systemUpdate';
|
|
|
}
|
|
|
|
|
|
if (/^\/coupon\/couponSend/.test(req.url)) {
|
|
|
// 获取优惠券 兼容php的url
|
|
|
req.url = `/activity/couponSend`;
|
|
|
req.url = '/activity/couponSend';
|
|
|
}
|
|
|
|
|
|
next();
|
...
|
...
|
|