|
@@ -1,11 +1,11 @@
|
|
|
-var NewApiRootUrl = 'http://192.168.31.116:8360/api/';
|
|
|
+var NewApiRootUrl = 'http://127.0.0.1:8360/api/';
|
|
|
|
|
|
module.exports = {
|
|
|
IndexUrl: NewApiRootUrl + 'index/index', //首页数据接口
|
|
|
CatalogList: NewApiRootUrl + 'catalog/index', //分类目录全部分类数据接口
|
|
|
CatalogCurrent: NewApiRootUrl + 'catalog/current', //分类目录当前分类数据接口
|
|
|
|
|
|
- AuthLoginByWeixin: NewApiRootUrl + 'auth/login_by_weixin', //微信登录
|
|
|
+ AuthLoginByWeixin: NewApiRootUrl + 'auth/loginByWeixin', //微信登录
|
|
|
|
|
|
GoodsCount: NewApiRootUrl + 'goods/count', //统计商品总数
|
|
|
GoodsList: NewApiRootUrl + 'goods/list', //获得商品列表
|
|
@@ -15,7 +15,6 @@ module.exports = {
|
|
|
GoodsHot: NewApiRootUrl + 'goods/hot', //热门
|
|
|
GoodsRelated: NewApiRootUrl + 'goods/related', //商品详情页的关联商品(大家都在看)
|
|
|
|
|
|
-
|
|
|
BrandList: NewApiRootUrl + 'brand/list', //品牌列表
|
|
|
BrandDetail: NewApiRootUrl + 'brand/detail', //品牌详情
|
|
|
|
|
@@ -28,7 +27,7 @@ module.exports = {
|
|
|
CartCheckout: NewApiRootUrl + 'cart/checkout', // 下单前信息确认
|
|
|
|
|
|
OrderSubmit: NewApiRootUrl + 'order/submit', // 提交订单
|
|
|
- PayPrepayId: NewApiRootUrl + 'pay/pay_prepay', //获取微信统一下单prepay_id
|
|
|
+ PayPrepayId: NewApiRootUrl + 'pay/payPrepay', //获取微信统一下单prepay_id
|
|
|
|
|
|
CollectList: NewApiRootUrl + 'collect/list', //收藏列表
|
|
|
CollectAddOrDelete: NewApiRootUrl + 'collect/addordelete', //添加或取消收藏
|