Authored by hf

code review by fei.hong: do feature 3.2.5

@@ -31,10 +31,10 @@ class Yohobuy @@ -31,10 +31,10 @@ class Yohobuy
31 const API_OLD = 'http://api2.open.yohobuy.com/'; 31 const API_OLD = 'http://api2.open.yohobuy.com/';
32 32
33 /* 测试环境 */ 33 /* 测试环境 */
34 - /**const API_URL = 'http://testapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/'  
35 - const SERVICE_URL = 'http://testservice.yoho.cn:28077/';  
36 - const YOHOBUY_URL = 'http://www.yohobuy.com/';  
37 - const API_OLD = 'http://test2.open.yohobuy.com/';**/ 34 +// const API_URL = 'http://testapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/'
  35 +// const SERVICE_URL = 'http://testservice.yoho.cn:28077/';
  36 +// const YOHOBUY_URL = 'http://www.yohobuy.com/';
  37 +// const API_OLD = 'http://test2.open.yohobuy.com/';
38 38
39 /* 预览环境 */ 39 /* 预览环境 */
40 // const API_URL = 'http://preapi.yoho.cn/'; 40 // const API_URL = 'http://preapi.yoho.cn/';
@@ -66,7 +66,6 @@ class Yohobuy @@ -66,7 +66,6 @@ class Yohobuy
66 } 66 }
67 // 苹果IPAD 67 // 苹果IPAD
68 elseif (strstr($_SERVER['HTTP_USER_AGENT'], 'iPad')) { 68 elseif (strstr($_SERVER['HTTP_USER_AGENT'], 'iPad')) {
69 -  
70 return 'ipad'; 69 return 'ipad';
71 } 70 }
72 elseif (stristr($_SERVER['HTTP_USER_AGENT'], 'android')) { 71 elseif (stristr($_SERVER['HTTP_USER_AGENT'], 'android')) {