Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
9 years ago
Commit
00d08e14aafac0b66017a9f6405d3afef855ec93
1 parent
9e07e967
修改接口
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
library/Api/Yohobuy.php
library/Api/Yohobuy.php
View file @
00d08e1
...
...
@@ -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'
))
{
...
...
Please
register
or
login
to post a comment