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
周少峰
9 years ago
Commit
e4f498a52b760dc36e384a38f1f8598c9b4ffc5f
1 parent
c5437efb
log api url
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 @
e4f498a
...
...
@@ -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