do debug test app 3.8 guang api
Showing
2 changed files
with
3 additions
and
3 deletions
@@ -24,8 +24,8 @@ class Yohobuy | @@ -24,8 +24,8 @@ class Yohobuy | ||
24 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 24 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; |
25 | 25 | ||
26 | /* 测试环境 */ | 26 | /* 测试环境 */ |
27 | - const API_URL = 'http://test2.open.yohobuy.com/'; | ||
28 | - const SERVICE_URL = 'http://test.service.api.yohobuy.com/'; | 27 | + const API_URL = 'http://preview.open.yohobuy.com/'; |
28 | + const SERVICE_URL = 'http://preview.service.yohobuy.com/'; | ||
29 | const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 29 | const YOHOBUY_URL = 'http://www.yohobuy.com/'; |
30 | const API_URL_MYCENTER = 'http://192.168.102.213:8080/api-gateway-web/'; // 我的个人中心接口URL | 30 | const API_URL_MYCENTER = 'http://192.168.102.213:8080/api-gateway-web/'; // 我的个人中心接口URL |
31 | const API_URL_SHOPINGCART = 'http://192.168.102.213:8080/api-gateway-web/'; // 我的购物车接口URL | 31 | const API_URL_SHOPINGCART = 'http://192.168.102.213:8080/api-gateway-web/'; // 我的购物车接口URL |
@@ -179,7 +179,7 @@ class PlusstarController extends AbstractAction | @@ -179,7 +179,7 @@ class PlusstarController extends AbstractAction | ||
179 | $data['shareDesc'] = (mb_strlen($data['ps']['intro'], 'utf-8') > 120) ? trim(strip_tags(mb_substr($data['ps']['intro'], 0, 120, 'utf-8'))) . '...' : $data['ps']['intro']; | 179 | $data['shareDesc'] = (mb_strlen($data['ps']['intro'], 'utf-8') > 120) ? trim(strip_tags(mb_substr($data['ps']['intro'], 0, 120, 'utf-8'))) . '...' : $data['ps']['intro']; |
180 | $data['shareImg'] = $data['ps']['logo']; | 180 | $data['shareImg'] = $data['ps']['logo']; |
181 | 181 | ||
182 | - $this->setTitle($data['shareTitle']); | 182 | + $this->setTitle($data['shareTitle'], false, ''); |
183 | $this->setDescription($data['shareDesc']); | 183 | $this->setDescription($data['shareDesc']); |
184 | 184 | ||
185 | $brandInfo = array(); | 185 | $brandInfo = array(); |
-
Please register or login to post a comment