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
76628f4e
Commit
76628f4e
authored
Dec 25, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
带看ID
parent
3c43ae5d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
8 deletions
+23
-8
ImageDepot.php
application/index/controller/ImageDepot.php
+18
-8
MarchIn.php
application/index/controller/MarchIn.php
+5
-0
No files found.
application/index/controller/ImageDepot.php
View file @
76628f4e
...
...
@@ -177,17 +177,27 @@ class ImageDepot extends Basic
echo
'Mac地址:'
.
$mac_address
;
}
public
function
ceshi
(){
$time
=
time
();
$begin_date
=
date
(
"Y-m-d H:i:s"
,
$time
-
1800
);
$end_date
=
date
(
"Y-m-d H:i:s"
,
$time
);
public
function
ceshi
()
{
echo
$time
.
'</br>'
;
echo
$begin_date
.
'</br>'
;
echo
$end_date
.
'</br>'
;
echo
$this
->
systemDiskInfo
();
}
/**
* 系统磁盘使用详情
* @return string
*/
public
function
systemDiskInfo
(){
//硬盘
$dt
=
round
(
@
disk_total_space
(
"."
)
/
(
1024
*
1024
*
1024
),
3
);
//总
$df
=
round
(
@
disk_free_space
(
"."
)
/
(
1024
*
1024
*
1024
),
3
);
//可用
$du
=
$dt
-
$df
;
//已用
$hdPercent
=
(
floatval
(
$dt
)
!=
0
)
?
round
(
$du
/
$dt
*
100
,
2
)
:
0
;
$about
=
'总空间'
.
$dt
.
'G 已用'
.
$du
.
'G 空闲'
.
$df
.
'G 使用率'
.
$hdPercent
.
'%'
;
return
$about
;
}
}
application/index/controller/MarchIn.php
View file @
76628f4e
...
...
@@ -88,6 +88,11 @@ class MarchIn extends Basic
if
(
isset
(
$params
[
'shop_type'
])
&&
$params
[
'shop_type'
]
!=
-
1
)
{
$where
[
'f.shop_type'
]
=
$params
[
'shop_type'
]
;
}
//10.带看ID
if
(
!
empty
(
$params
[
'order_id'
]))
{
$where
[
'a.order_id'
]
=
$params
[
'order_id'
]
;
}
//搜索条件 end
$fields_evaluate
=
'a.id,a.report_id,a.order_id,d.user_name,d.user_phone,a.create_time,d.report_agent_name,'
;
...
...
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