diff --git a/conf/config.js b/conf/config.js index 6c6243f..30d306e 100644 --- a/conf/config.js +++ b/conf/config.js @@ -15,7 +15,7 @@ const baseUrl = '/'; // #ifndef H5 //服务器域名 小程序 或者 app 时 后端地址 -const baseUrl = 'http://192.168.100.108:8088/'; +const baseUrl = 'http://127.0.0.1:8008/'; // #endif let commonBaseUrl = 'http://demo.homecommunity.cn/'; diff --git a/constant/url.js b/constant/url.js index fd14149..64fbf7f 100644 --- a/constant/url.js +++ b/constant/url.js @@ -151,13 +151,13 @@ export default { queryOwnerAccount: baseUrl + "app/account/queryOwnerAccount", queryOwnerAccountDetail: baseUrl + "app/account/queryOwnerAccountDetail", ownerCommunity: baseUrl + "app/owner.ownerCommunity", - queryShopType: baseUrl + 'app/shopType/queryShopType', //查询店铺类型 + queryShopType: baseUrl + 'app/mall.queryShopType', //查询店铺类型 // 家政服务类型(菜单) - queryHousekeepingType: baseUrl + 'app/housekeepingType/queryHousekeepingType', + queryHousekeepingType: baseUrl + 'app/mall.queryHousekeepingType', queryMainCategoryAllGoods: baseUrl + "app/productCategory/queryMainCategoryAllGoods", - queryPhoneMainCategoryProduct: baseUrl + "app/product.queryPhoneMainCategoryProduct", + queryPhoneMainCategoryProduct: baseUrl + "app/mall.queryPhoneMainCategoryProduct", - queryMainCategory: baseUrl + "app/productCategory/queryMainCategory", + queryMainCategory: baseUrl + "app/mall.queryMainCategory", queryShopCommunity: baseUrl + "app/shop/queryShopCommunity", saveAddVisit: baseUrl + "app/visit.saveVisit", @@ -196,8 +196,8 @@ export default { listReserveParams: baseUrl + "app/reserve.listReserveParams", // 查询预约商品 listReserveGoodsOrderTime: baseUrl + "app/reserveOrder.listMyReserveGoodsOrderTime", // 查询预约订单 deleteReserveGoodsPerson: baseUrl + "app/reserveOrder.deleteReserveGoodsPerson", // 查询预约订单 - listProductSeckill: baseUrl + "app/productSeckill.listProductSeckill", - listProductGroup: baseUrl + "app/productGroup.listProductGroup", + listProductSeckill: baseUrl + "app/mall.listProductSeckill", + listProductGroup: baseUrl + "app/mall.listProductGroup", listRegisterProtocol: baseUrl + "app/system.listRegisterProtocol", queryCurrentOwner: baseUrl + "app/owner.queryCurrentOwner", listItemReleaseType: baseUrl + "app/itemRelease.listItemReleaseType", diff --git a/manifest.json b/manifest.json index bd4511b..b451983 100644 --- a/manifest.json +++ b/manifest.json @@ -80,12 +80,12 @@ "disableHostCheck" : true, "proxy" : { "/app" : { - "target" : "http://demo.homecommunity.cn/", //目标接口域名 + "target" : "http://127.0.0.1:8008/", //目标接口域名 "changeOrigin" : true, //是否跨域 "secure" : true // 设置支持https协议的代理 }, "/callComponent" : { - "target" : "http://192.168.100.108:8088/", //目标接口域名 + "target" : "http://127.0.0.1:8008/", //目标接口域名 "changeOrigin" : true, //是否跨域 "secure" : true // 设置支持https协议的代理 } diff --git a/pages.json b/pages.json index 83f42d7..f76871d 100644 --- a/pages.json +++ b/pages.json @@ -1058,14 +1058,14 @@ "selectedIconPath": "static/images/rent-selected.png" }, - // #ifdef H5 && WUYE + { "pagePath": "pages/mall/mall", "text": "商圈", "iconPath": "static/images/market.png", "selectedIconPath": "static/images/market-selected.png" }, - // #endif + { "pagePath": "pages/my/my", "text": "我的",