Commit 322f6eff by zhangxiaolong

跟踪订单修改

parent e7739804
...@@ -449,8 +449,11 @@ ...@@ -449,8 +449,11 @@
var p = website.split('?')[1] var p = website.split('?')[1]
let url = 'api/order/tracking' let url = 'api/order/tracking'
if(p){ if(p){
var n = p.split('=')[0]
if(n === 'number'){
url = 'api/order/number' url = 'api/order/number'
} }
}
axios axios
.get(url, { params }) .get(url, { params })
.then((res) => { .then((res) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment