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
45807a9a
Commit
45807a9a
authored
Aug 08, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通话记录
parent
1caabbe9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
CellPhone.php
application/index/controller/CellPhone.php
+1
-1
SecretReport.php
application/model/SecretReport.php
+1
-2
No files found.
application/index/controller/CellPhone.php
View file @
45807a9a
...
...
@@ -39,7 +39,7 @@ class CellPhone extends Basic
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
10
:
$this
->
params
[
'pageSize'
];
$report
=
new
SecretReport
();
$field
=
'agents_id,users_id,call_type,call_time,time,voice_file,c.user_status,a.id,a.create_time,a.type,secret_no,
d.content,
c.id as user_id'
;
$field
=
'agents_id,users_id,call_type,call_time,time,voice_file,c.user_status,a.id,a.create_time,a.type,secret_no,c.id as user_id'
;
$where
=
[];
if
(
!
empty
(
$this
->
params
[
'start_date'
]))
{
...
...
application/model/SecretReport.php
View file @
45807a9a
...
...
@@ -28,7 +28,6 @@ class SecretReport extends BaseModel
$data
=
$this
->
field
(
$field
)
->
alias
(
'a'
)
->
join
(
'a_agents b'
,
'a.agents_id=b.id'
,
'left'
)
->
join
(
'u_users c'
,
'a.users_id=c.id'
,
'left'
)
->
where
(
$params
)
->
order
(
$order_
)
->
limit
(
$pageSize
)
...
...
@@ -64,7 +63,7 @@ class SecretReport extends BaseModel
}
if
(
$v
->
voice_file
)
{
$result
[
$k
][
'voice_file'
]
=
'http://192.168.
1
.22/static/voice/'
.
$v
->
voice_file
;
$result
[
$k
][
'voice_file'
]
=
'http://192.168.
0
.22/static/voice/'
.
$v
->
voice_file
;
}
else
{
$result
[
$k
][
'voice_file'
]
=
""
;
}
...
...
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