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
Plain Diff
Browse Files
Authored by
cailing
2016-07-11 13:45:20 +0800
Commit
1037eba74342380fa3f85e423f9802679d234993
2 parents
f425a679
3369c923
Merge branch 'release/4.8' of
http://git.yoho.cn/fe/YOHOBUYPC
into release/4.8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
library/Api/Yohobuy.php
library/Api/Yohobuy.php
View file @
1037eba
...
...
@@ -12,6 +12,7 @@
namespace
Api
;
use
WebPlugin\Cache
;
use
WebPlugin\UdpLog
;
class
Yohobuy
{
/* 正式环境 */
...
...
@@ -175,6 +176,7 @@ class Yohobuy
if
(
!
empty
(
$data
))
{
$url
=
self
::
httpBuildQuery
(
$url
,
$data
);
}
//echo $url;
UdpLog
::
info
(
$url
);
/* 开启缓存的情况 */
if
(
$cache
&&
USE_CACHE
)
{
// 先尝试获取一级缓存(master), 有数据则直接返回.
...
...
Please
register
or
login
to post a comment