|
@@ -1,25 +1,14 @@
|
|
|
|
|
|
-const ip = 'https://qfnj.gaswkj.com/prod-api';
|
|
+
|
|
-
|
|
+const ip = 'http://192.168.2.101:8080';
|
|
|
|
|
|
* 全部接口
|
|
* 全部接口
|
|
*/
|
|
*/
|
|
const urls = {
|
|
const urls = {
|
|
ip: ip,
|
|
ip: ip,
|
|
home: ip + '/app/home/index',
|
|
home: ip + '/app/home/index',
|
|
- bindPhone: ip + '/app/user/bindPhone',
|
|
+ getPageContent: ip + '/api/index/getPageContent',
|
|
- login: ip + '/app/user/login',
|
|
+ getContentInfo: ip + '/api/index/getContentInfo/',
|
|
- goods_list: ip + '/app/goods/goodsList',
|
|
|
|
- goods_detail: ip + '/app/goods/detail/',
|
|
|
|
- cart_list: ip + '/app/cart/list',
|
|
|
|
- cart_add: ip + '/app/cart/add',
|
|
|
|
- cart_del: ip + '/app/cart/del/',
|
|
|
|
- notice: ip + '/app/other/notice',
|
|
|
|
- notice_detail: ip + '/app/other/notice/',
|
|
|
|
- pay: ip + '/app/wxPay/pay',
|
|
|
|
- order_list: ip + '/app/order/list',
|
|
|
|
- order_cancel: ip + '/app/order/cancel',
|
|
|
|
- order_detail: ip + '/app/order/detail',
|
|
|
|
dictType: ip + '/app/other/type/',
|
|
dictType: ip + '/app/other/type/',
|
|
|
|
|
|
}
|
|
}
|