@@ -57,7 +57,7 @@
}
})
} else {
- this.$http.post('trade/cart/add', {
+ this.$http.post('/trade/cart/add', {
uuid: this.item.uuid,
batchCode: this.item.batchCode,
number: this.item.minBuyQty,
@@ -407,7 +407,7 @@
// this.$store.dispatch('user/addCar', {uuid: item.uuid, batchCode: item.batchCode, number: item.minBuyQty})
uuid: item.uuid,
batchCode: item.batchCode,
number: this.fragment.num,
@@ -125,7 +125,7 @@
uuid: item.comUuid,
number: item.minBuyQty,
@@ -4,7 +4,7 @@ export const actions = {
// 获取帮助中心信息
loadHelpSnapsho ({ commit }, params = {}) {
commit('help/option/REQUEST_SNAPSHO')
- return axios.get('api/help-service/helps', {params})
+ return axios.get('/api/help-service/helps', {params})
.then(response => {
commit('help/option/GET_SNAPSHO_SUCCESS', response.data)
}, err => {