...
|
...
|
@@ -67,12 +67,12 @@ class Yohobuy |
|
|
*/
|
|
|
public static function clientType()
|
|
|
{
|
|
|
if(self::isMobile()) {
|
|
|
return 'h5';
|
|
|
}
|
|
|
else {
|
|
|
return 'web';
|
|
|
}
|
|
|
// if(self::isMobile()) {
|
|
|
// return 'h5';
|
|
|
// }
|
|
|
// else {
|
|
|
// return 'web';
|
|
|
// }
|
|
|
|
|
|
// 苹果设备
|
|
|
if (strstr($_SERVER['HTTP_USER_AGENT'], 'iPhone')) {
|
...
|
...
|
|