diff --git a/mobile-web/src/api/user.js b/mobile-web/src/api/user.js
index d4c18b37b..2fd7d250a 100644
--- a/mobile-web/src/api/user.js
+++ b/mobile-web/src/api/user.js
@@ -18,14 +18,14 @@ export function DelFavorite(id){
export function GetAddressList(){
return request({
- url: '/user-api/user/address/list',
+ url: '/user-api/users/address/list',
method: 'get',
})
}
export function GetAddressById(id){
return request({
- url: '/user-api/user/address/address',
+ url: '/user-api/users/address/address',
method: 'get',
params: { id }
})
@@ -33,7 +33,7 @@ export function GetAddressById(id){
export function UpdateAddress(data){
return request({
- url: '/user-api/user/address/update',
+ url: '/user-api/users/address/update',
method: 'PUT',
params: data
})
@@ -41,7 +41,7 @@ export function UpdateAddress(data){
export function SaveAddress(data){
return request({
- url: '/user-api/user/address/add',
+ url: '/user-api/users/address/add',
method: 'POST',
params: data
})
@@ -49,13 +49,12 @@ export function SaveAddress(data){
export function DelAddress(data){
return request({
- url: '/user-api/user/address/remove',
+ url: '/user-api/users/address/remove',
method: 'DELETE',
params: data
})
}
-
export function GetCoupon(data){
return request({
url: '/User/GetCoupon',
diff --git a/mobile-web/src/components/common/productcard.vue b/mobile-web/src/components/common/productcard.vue
index 131b8d3e2..bc30f6b23 100644
--- a/mobile-web/src/components/common/productcard.vue
+++ b/mobile-web/src/components/common/productcard.vue
@@ -8,7 +8,7 @@
style="background:#fff"
>
-
+
{{product.imageTag}}
diff --git a/mobile-web/src/config/request.js b/mobile-web/src/config/request.js
index 33b0b4acc..6bdbe764f 100644
--- a/mobile-web/src/config/request.js
+++ b/mobile-web/src/config/request.js
@@ -32,7 +32,7 @@ const serviceRouter = function(requestUrl) {
const configProd = {
'/order-api': {
prefix: '/order-api',
- target: 'http://api.shop.iocoder.cn:18099/order-api',
+ target: 'http://api.shop.iocoder.cn:18088/order-api',
},
'/user-api': {
prefix: '/user-api',
diff --git a/mobile-web/src/page/eventBus.js b/mobile-web/src/page/eventBus.js
new file mode 100644
index 000000000..e20b06a18
--- /dev/null
+++ b/mobile-web/src/page/eventBus.js
@@ -0,0 +1,6 @@
+import Vue from 'vue'
+
+/**
+ * 定义空的vue实例,作为 eventbus实现非父子组件之间的通信(vue2.x中去掉了broadcast)
+ */
+export default new Vue({});
diff --git a/mobile-web/src/page/shipping/order.vue b/mobile-web/src/page/shipping/order.vue
index 766ef3f8d..0b48584b8 100644
--- a/mobile-web/src/page/shipping/order.vue
+++ b/mobile-web/src/page/shipping/order.vue
@@ -57,6 +57,7 @@