mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化代码
This commit is contained in:
parent
2b6fed74ec
commit
82e1ac61c6
@ -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/';
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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协议的代理
|
||||
}
|
||||
|
||||
@ -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": "我的",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user