优化代码

This commit is contained in:
wuxw 2024-05-12 00:47:28 +08:00
parent 2b6fed74ec
commit 82e1ac61c6
4 changed files with 11 additions and 11 deletions

View File

@ -15,7 +15,7 @@ const baseUrl = '/';
// #ifndef H5 // #ifndef H5
//服务器域名 小程序 或者 app 时 后端地址 //服务器域名 小程序 或者 app 时 后端地址
const baseUrl = 'http://192.168.100.108:8088/'; const baseUrl = 'http://127.0.0.1:8008/';
// #endif // #endif
let commonBaseUrl = 'http://demo.homecommunity.cn/'; let commonBaseUrl = 'http://demo.homecommunity.cn/';

View File

@ -151,13 +151,13 @@ export default {
queryOwnerAccount: baseUrl + "app/account/queryOwnerAccount", queryOwnerAccount: baseUrl + "app/account/queryOwnerAccount",
queryOwnerAccountDetail: baseUrl + "app/account/queryOwnerAccountDetail", queryOwnerAccountDetail: baseUrl + "app/account/queryOwnerAccountDetail",
ownerCommunity: baseUrl + "app/owner.ownerCommunity", 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", 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", queryShopCommunity: baseUrl + "app/shop/queryShopCommunity",
saveAddVisit: baseUrl + "app/visit.saveVisit", saveAddVisit: baseUrl + "app/visit.saveVisit",
@ -196,8 +196,8 @@ export default {
listReserveParams: baseUrl + "app/reserve.listReserveParams", // 查询预约商品 listReserveParams: baseUrl + "app/reserve.listReserveParams", // 查询预约商品
listReserveGoodsOrderTime: baseUrl + "app/reserveOrder.listMyReserveGoodsOrderTime", // 查询预约订单 listReserveGoodsOrderTime: baseUrl + "app/reserveOrder.listMyReserveGoodsOrderTime", // 查询预约订单
deleteReserveGoodsPerson: baseUrl + "app/reserveOrder.deleteReserveGoodsPerson", // 查询预约订单 deleteReserveGoodsPerson: baseUrl + "app/reserveOrder.deleteReserveGoodsPerson", // 查询预约订单
listProductSeckill: baseUrl + "app/productSeckill.listProductSeckill", listProductSeckill: baseUrl + "app/mall.listProductSeckill",
listProductGroup: baseUrl + "app/productGroup.listProductGroup", listProductGroup: baseUrl + "app/mall.listProductGroup",
listRegisterProtocol: baseUrl + "app/system.listRegisterProtocol", listRegisterProtocol: baseUrl + "app/system.listRegisterProtocol",
queryCurrentOwner: baseUrl + "app/owner.queryCurrentOwner", queryCurrentOwner: baseUrl + "app/owner.queryCurrentOwner",
listItemReleaseType: baseUrl + "app/itemRelease.listItemReleaseType", listItemReleaseType: baseUrl + "app/itemRelease.listItemReleaseType",

View File

@ -80,12 +80,12 @@
"disableHostCheck" : true, "disableHostCheck" : true,
"proxy" : { "proxy" : {
"/app" : { "/app" : {
"target" : "http://demo.homecommunity.cn/", // "target" : "http://127.0.0.1:8008/", //
"changeOrigin" : true, // "changeOrigin" : true, //
"secure" : true // https "secure" : true // https
}, },
"/callComponent" : { "/callComponent" : {
"target" : "http://192.168.100.108:8088/", // "target" : "http://127.0.0.1:8008/", //
"changeOrigin" : true, // "changeOrigin" : true, //
"secure" : true // https "secure" : true // https
} }

View File

@ -1058,14 +1058,14 @@
"selectedIconPath": "static/images/rent-selected.png" "selectedIconPath": "static/images/rent-selected.png"
}, },
// #ifdef H5 && WUYE
{ {
"pagePath": "pages/mall/mall", "pagePath": "pages/mall/mall",
"text": "商圈", "text": "商圈",
"iconPath": "static/images/market.png", "iconPath": "static/images/market.png",
"selectedIconPath": "static/images/market-selected.png" "selectedIconPath": "static/images/market-selected.png"
}, },
// #endif
{ {
"pagePath": "pages/my/my", "pagePath": "pages/my/my",
"text": "我的", "text": "我的",