131 lines
3.0 KiB
JavaScript
131 lines
3.0 KiB
JavaScript
export default {
|
|
index: {
|
|
banner: {
|
|
url: "/index/banner",
|
|
},
|
|
notify: {
|
|
url: "/index/message",
|
|
},
|
|
},
|
|
user: {
|
|
sendCode: {
|
|
url: "/public/send",
|
|
},
|
|
openId: {
|
|
url: "/public/getopenid",
|
|
},
|
|
register: {
|
|
url: "/public/register",
|
|
},
|
|
login: {
|
|
url: "/public/login",
|
|
},
|
|
info: {
|
|
url: "/user/getuserinfo",
|
|
auth: true,
|
|
},
|
|
address: {
|
|
list: {
|
|
url: "/Useraddress/getalladdress",
|
|
showLoading: true,
|
|
},
|
|
edit: {
|
|
url: "/Useraddress/applyaddress"
|
|
},
|
|
detail: {
|
|
url: "/Useraddress/addressinfo",
|
|
showLoading: true,
|
|
},
|
|
delete: {
|
|
url: "/Useraddress/deleteaddress"
|
|
}
|
|
}
|
|
},
|
|
project: {
|
|
project: {
|
|
url: "/project/applyinfo",
|
|
},
|
|
projectList: {
|
|
url: "/project/alllist",
|
|
},
|
|
business: {
|
|
url: "/project/applyinfob",
|
|
},
|
|
businessList: {
|
|
url: "/project/alllistb",
|
|
},
|
|
afterMarket: {
|
|
url: "/project/applyguarantee"
|
|
},
|
|
afterMarketList: {
|
|
url: "/project/allguaranteelist"
|
|
},
|
|
distribution: {
|
|
config: {
|
|
url: "/index/getdistributionmoney"
|
|
},
|
|
carType: {
|
|
url: "/index/getallcar"
|
|
},
|
|
submit: {
|
|
url: "/project/distribution"
|
|
},
|
|
pay: {
|
|
url: "/wxpay/payorderd"
|
|
}
|
|
}
|
|
},
|
|
service: {
|
|
insurance: {
|
|
url: "/index/getyiwai",
|
|
},
|
|
aftermarket: {
|
|
url: "/index/category2",
|
|
},
|
|
hotCate: {
|
|
url: "/index/hotcategory",
|
|
},
|
|
cate: {
|
|
url: "/index/category1",
|
|
},
|
|
list: {
|
|
url: "/index/getcategorybyid"
|
|
},
|
|
goodsDetail: {
|
|
url: "/index/goodsinfobyid",
|
|
showLoading: true,
|
|
}
|
|
},
|
|
order: {
|
|
cart: {
|
|
count: {
|
|
url: "/order/myshoppingcarcount",
|
|
},
|
|
toCart: {
|
|
url: "/order/addshoppingcar",
|
|
showLoading: true,
|
|
},
|
|
add: {
|
|
url: "/order/shoppingcarpush",
|
|
},
|
|
sub: {
|
|
url: "/order/shoppingcarsend",
|
|
},
|
|
delete: {
|
|
url: "/order/deleteshoppingcar",
|
|
},
|
|
list: {
|
|
url: "/order/myshoppingcar",
|
|
showLoading: true,
|
|
},
|
|
},
|
|
pay: {
|
|
url: "/wxpay/payordera",
|
|
showLoading: true,
|
|
},
|
|
createOrder: {
|
|
url: "/order/submitordera",
|
|
},
|
|
}
|
|
}
|