Authored by 郭成尧

referer

@@ -58,7 +58,7 @@ const refund = { @@ -58,7 +58,7 @@ const refund = {
58 */ 58 */
59 logistics(req, res) { 59 logistics(req, res) {
60 let headerData = headerModel.setNav({ 60 let headerData = headerModel.setNav({
61 - navTitle: '退换货订单列表', 61 + navTitle: '填写物流信息',
62 backUrl: helpers.urlFormat('/home/orders') 62 backUrl: helpers.urlFormat('/home/orders')
63 }); 63 });
64 64
@@ -69,7 +69,7 @@ const refund = { @@ -69,7 +69,7 @@ const refund = {
69 applyid: req.query.applyid, 69 applyid: req.query.applyid,
70 type: req.query.type, 70 type: req.query.type,
71 localCss: true, 71 localCss: true,
72 - title: '退换货订单列表' 72 + title: '填写物流信息'
73 }); 73 });
74 }, 74 },
75 75
@@ -59,7 +59,7 @@ @@ -59,7 +59,7 @@
59 if (res.code !== 200) { 59 if (res.code !== 200) {
60 tip.show(res.message || '网络错误'); 60 tip.show(res.message || '网络错误');
61 } else { 61 } else {
62 - location.href = document.referrer; 62 + location.href = `http://m.yohobuy.com/home/return/${_this.type}/detail/${_this.applyid}`;
63 return false; 63 return false;
64 } 64 }
65 }); 65 });