Toggle navigation
Toggle navigation
This project
Loading...
Sign in
web
/
yoho-live
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
wuxiao
2016-08-30 14:12:22 +0800
Commit
f48bd9f28029291ebd4e91f13e80318756a4d4c9
1 parent
efae6266
缓存键组件
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
common/components/cachekey/Parser.php
common/components/cachekey/keys/room/product.php
common/components/cachekey/keys/test.php
common/components/cachekey/Parser.php
View file @
f48bd9f
...
...
@@ -89,6 +89,7 @@ class Parser{
$realkey
=
sprintf
(
$realkey
,
$params
);
}
$realkey
=
$path
.
':'
.
$realkey
;
$self
->
cache
->
set
(
$main_key
,
$realkey
,
$self
->
expire
);
return
$realkey
;
}
...
...
common/components/cachekey/keys/room/product.php
0 → 100644
View file @
f48bd9f
<?php
return
[
'pushlog'
=>
'push_goods_log'
,
];
\ No newline at end of file
...
...
common/components/cachekey/keys/test.php
View file @
f48bd9f
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
return
[
'test'
=>
'{name}'
,
];
\ No newline at end of file
...
...
Please
register
or
login
to post a comment