Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenchuanwen
my-yaf-project
Commits
fcc6baca
Commit
fcc6baca
authored
Feb 13, 2019
by
lingqingmei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ccw' of
http://git.shenbd.com/api-project-dev/api.shenbd.com
into master_dev
parents
c6d799ce
16380cdc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
Index.php
application/controllers/Index.php
+6
-2
application.ini
conf/application.ini
+2
-2
No files found.
application/controllers/Index.php
View file @
fcc6baca
...
...
@@ -111,10 +111,14 @@ class IndexController extends \Our\Controller_Abstract {
}
public
function
getInvateHtmlAction
(){
$req
=
$this
->
getRequest
()
->
getQuery
();
if
(
empty
(
$req
[
'params'
]
)){
//echo $req['cacheKey'];exit;
if
(
empty
(
$req
[
'cacheKey'
]
)){
echo
'error'
;
exit
;
}
$params
=
base64_decode
(
$req
[
'params'
]);
$this
->
memberDb0Redis
=
\Redis\Db0\MemberRedisModel
::
getInstance
();
$res
=
$this
->
memberDb0Redis
->
tableCacheGet
(
$req
[
'cacheKey'
]);
$params
=
unserialize
(
$res
);
$params
=
base64_decode
(
$params
);
// $params['name']='陈传文4';
// $params['telephone']='18305954587';
// $params['qrcodeUrl']='//static.shenbd.com/www/index/2018/img/card/code.jpg';
...
...
conf/application.ini
View file @
fcc6baca
...
...
@@ -148,7 +148,7 @@ resources.database.mongo.params.driver_options.1002 = "SET NAMES utf8"
redis.database.params.host
=
"127.0.0.1"
redis.database.params.port
=
"6379"
redis.database.params.prefix
=
"qm_"
;redis.database.params.password = "
23456ertyu
"
;redis.database.params.password = ""
out.config
=
"/data/config"
password.key
=
'~!@#$`1234qwertasdfgzxcvb'
;
...
...
@@ -319,7 +319,7 @@ password.key='~!@#$`1234qwertasdfgzxcvb';
redis.database.params.host
=
"127.0.0.1"
redis.database.params.port
=
"6379"
redis.database.params.prefix
=
"qm_"
redis.database.params.password
=
""
redis.database.params.password
=
"
23456ertyu
"
out.config
=
"/data/config"
;
;锁文件
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment