do fixes bugs to product detail show tags
Showing
4 changed files
with
4 additions
and
8 deletions
@@ -22,16 +22,12 @@ class Yohobuy | @@ -22,16 +22,12 @@ class Yohobuy | ||
22 | // const API_URL2 = 'http://api.open.yohobuy.com/'; | 22 | // const API_URL2 = 'http://api.open.yohobuy.com/'; |
23 | // const SERVICE_URL = 'http://service.api.yohobuy.com/'; | 23 | // const SERVICE_URL = 'http://service.api.yohobuy.com/'; |
24 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 24 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; |
25 | + // const API_URL_LOGINSESSION = 'http://m1.yohobuy.com/'; | ||
25 | 26 | ||
26 | /* 测试环境 */ | 27 | /* 测试环境 */ |
27 | const API_URL = 'http://testapi.yoho.cn:28078/'; | 28 | const API_URL = 'http://testapi.yoho.cn:28078/'; |
28 | const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; | 29 | const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; |
29 | const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 30 | const YOHOBUY_URL = 'http://www.yohobuy.com/'; |
30 | - const YOHOBUY_ORDER = 'http://192.168.102.209:8084/order/'; //我的订单 | ||
31 | - const API_URL_MYCENTER = 'http://192.168.102.207:8081/users/'; // 我的个人中心接口URL | ||
32 | - const API_URL_SHOPINGCART = 'http://192.168.102.213:8080/api-gateway-web/'; // 我的购物车接口URL | ||
33 | - const API_URL_PRODUCTDETAIL = 'http://192.168.102.212:8083/product/'; // 商品详情页 | ||
34 | - const API_URL_LOGISTICS = 'http://192.168.102.205:8080/gateway'; //查看物流接口URL | ||
35 | const API_URL_LOGINSESSION = 'http://m1.yohobuy.com/'; | 31 | const API_URL_LOGINSESSION = 'http://m1.yohobuy.com/'; |
36 | 32 | ||
37 | /** | 33 | /** |
@@ -59,7 +59,6 @@ class OrderData | @@ -59,7 +59,6 @@ class OrderData | ||
59 | * To change this template file, choose Tools | Templates | 59 | * To change this template file, choose Tools | Templates |
60 | * and open the template in the editor. | 60 | * and open the template in the editor. |
61 | */ | 61 | */ |
62 | - | ||
63 | public static function deleteOrderData($order_code, $uid, $gender, $yh_channel) | 62 | public static function deleteOrderData($order_code, $uid, $gender, $yh_channel) |
64 | { | 63 | { |
65 | //构建必传参数 | 64 | //构建必传参数 |
@@ -94,7 +93,7 @@ class OrderData | @@ -94,7 +93,7 @@ class OrderData | ||
94 | } | 93 | } |
95 | 94 | ||
96 | /* | 95 | /* |
97 | - * 支付url | 96 | + * 支付页面的资源位 |
98 | * To change this template file, choose Tools | Templates | 97 | * To change this template file, choose Tools | Templates |
99 | */ | 98 | */ |
100 | public static function paymentData($gender, $yh_channel, $code) | 99 | public static function paymentData($gender, $yh_channel, $code) |
@@ -683,6 +683,7 @@ class HomeController extends AbstractAction | @@ -683,6 +683,7 @@ class HomeController extends AbstractAction | ||
683 | $order['walkwayUrl'] = Helpers::url('/product/new'); | 683 | $order['walkwayUrl'] = Helpers::url('/product/new'); |
684 | } else { | 684 | } else { |
685 | echo ' '; | 685 | echo ' '; |
686 | + exit(); | ||
686 | } | 687 | } |
687 | 688 | ||
688 | //渲染模板 | 689 | //渲染模板 |
@@ -23,7 +23,7 @@ class OrderModel | @@ -23,7 +23,7 @@ class OrderModel | ||
23 | { | 23 | { |
24 | $result = array(); | 24 | $result = array(); |
25 | //调用接口获得数据 | 25 | //调用接口获得数据 |
26 | - $data = OrderData::getOrderData($type, $page, $limit, $gender, $yh_channel, $uid); | 26 | + $data = OrderData::getOrderData($type, $page, $limit, $gender, $yh_channel, 5772257); var_dump($data); exit; |
27 | // 判断是否还有数据, 没有数据则返回空 | 27 | // 判断是否还有数据, 没有数据则返回空 |
28 | if (isset($data['data']['page_total']) && $page > $data['data']['page_total']) { | 28 | if (isset($data['data']['page_total']) && $page > $data['data']['page_total']) { |
29 | return $result; | 29 | return $result; |
-
Please register or login to post a comment