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
ec835e00
Commit
ec835e00
authored
May 24, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3f3c0859
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
9 deletions
+14
-9
OrderLog.php
application/api_broker/controller/OrderLog.php
+1
-0
common.php
application/common.php
+10
-4
ImageDepot.php
application/index/controller/ImageDepot.php
+2
-2
OBargainModel.php
application/model/OBargainModel.php
+1
-3
No files found.
application/api_broker/controller/OrderLog.php
View file @
ec835e00
...
...
@@ -543,6 +543,7 @@ class OrderLog extends Basic
"page_no" => 1,
"page_size" => 15
);*/
if
(
!
isset
(
$params
[
"submit_agent_id"
])
||
!
isset
(
$params
[
"status"
]))
{
return
$this
->
response
(
"101"
,
"请求参数错误"
);
}
...
...
application/common.php
View file @
ec835e00
...
...
@@ -174,8 +174,13 @@ function tranTime($time_inpute)
* 独立记录日志文件
* @param $content
*/
function
big_log
(
$content
){
$filename
=
ROOT_PATH
.
'runtime/log/find_bug.log'
;
$content
=
'['
.
date
(
"Y-m-d H:i:s"
,
time
())
.
'] '
.
$content
;
file_put_contents
(
$filename
,
$content
.
"
\r\n
"
,
FILE_APPEND
);
function
big_log
(
$content
,
$filename
=
'find_bug'
){
$filenames
=
ROOT_PATH
.
'runtime/log/'
.
$filename
.
'.log'
;
$time_str
=
'['
.
date
(
"Y-m-d H:i:s"
,
time
())
.
'] '
;
if
(
is_array
(
$content
)){
$content
=
print_r
(
$content
,
true
);
}
$content
=
$time_str
.
$content
.
"
\r\n
"
;
file_put_contents
(
$filenames
,
$content
,
FILE_APPEND
);
}
\ No newline at end of file
application/index/controller/ImageDepot.php
View file @
ec835e00
...
...
@@ -183,8 +183,8 @@ class ImageDepot extends Basic
public
function
ceshi
()
{
big_log
(
'=============测试================='
)
;
$arr
=
[
'html'
,
'css'
,
'javascript'
,
'vuejs'
]
;
big_log
(
$arr
);
}
...
...
application/model/OBargainModel.php
View file @
ec835e00
...
...
@@ -295,9 +295,7 @@ class OBargainModel extends Model
->
limit
(
$pageSize
)
->
page
(
$pageNo
)
->
select
();
//echo $this->db_->getLastSql();
// dump($this->db_->getLastSql());exit;
// big_log($this->db_->getLastSql());
return
$result
;
}
...
...
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