Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
fe0a28cd
Commit
fe0a28cd
authored
Dec 18, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
cc328b52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
common.php
application/common.php
+10
-0
ImageDepot.php
application/index/controller/ImageDepot.php
+2
-9
No files found.
application/common.php
View file @
fe0a28cd
...
...
@@ -177,4 +177,13 @@ function del_array_string($string = '', $array_str = []) {
}
}
return
$array_str
;
}
/**
* 独立记录日志文件
* @param $content
*/
function
big_log
(
$content
){
$filename
=
ROOT_PATH
.
'runtime/log/find_bug.log'
;
file_put_contents
(
$filename
,
$content
.
"
\r\n
"
,
FILE_APPEND
);
}
\ No newline at end of file
application/index/controller/ImageDepot.php
View file @
fe0a28cd
...
...
@@ -178,15 +178,8 @@ class ImageDepot extends Basic
}
public
function
ceshi
(){
//查询客户是否在保护期内
//判断客户是否超过24小时保护期间 0:保护器内 1:超过保护期
$vip_services
=
new
VipService
();
//是否可以查看vip客户 0:可查看 1:不可查看
$agent_id
=
51
;
$group_id
=
'2,3,4,5'
;
$res
=
$vip_services
->
getGroup
(
$agent_id
,
$group_id
);
dump
(
$res
);
$content
=
'99888888'
;
big_log
(
$content
);
}
}
...
...
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