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
26904ac7
Commit
26904ac7
authored
Mar 01, 2018
by
zw
Committed by
hujun
Mar 05, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/test-hujun1.15' into test-hujun1.15
parents
571db288
6bf4958b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
CellPhone.php
application/index/controller/CellPhone.php
+1
-1
SecretReport.php
application/model/SecretReport.php
+9
-0
No files found.
application/index/controller/CellPhone.php
View file @
26904ac7
...
@@ -168,7 +168,7 @@ class CellPhone extends Basic
...
@@ -168,7 +168,7 @@ class CellPhone extends Basic
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
10
:
$this
->
params
[
'pageSize'
];
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
10
:
$this
->
params
[
'pageSize'
];
$report
=
new
SecretReport
();
$report
=
new
SecretReport
();
$field
=
'agents_id,users_id,release_time,start_time,call_type,call_time,time'
;
$field
=
'agents_id,users_id,release_time,start_time,call_type,call_time,time
,voice_file
'
;
$where
=
[];
$where
=
[];
if
(
$this
->
params
[
'start_time'
])
{
if
(
$this
->
params
[
'start_time'
])
{
...
...
application/model/SecretReport.php
View file @
26904ac7
...
@@ -60,9 +60,18 @@ class SecretReport extends Model
...
@@ -60,9 +60,18 @@ class SecretReport extends Model
if
(
$v
->
users_id
)
{
if
(
$v
->
users_id
)
{
$result
[
$k
][
'user_nick'
]
=
Db
::
table
(
'u_users'
)
->
where
(
'id'
,
$v
->
users_id
)
->
value
(
'user_nick'
);
$result
[
$k
][
'user_nick'
]
=
Db
::
table
(
'u_users'
)
->
where
(
'id'
,
$v
->
users_id
)
->
value
(
'user_nick'
);
$result
[
$k
][
'follow_up'
]
=
Db
::
table
(
'u_phone_follow_up'
)
->
where
(
'user_id'
,
$v
->
users_id
)
->
value
(
'content'
);
}
else
{
}
else
{
$result
[
$k
][
'user_nick'
]
=
""
;
$result
[
$k
][
'user_nick'
]
=
""
;
$result
[
$k
][
'follow_up'
]
=
""
;
}
}
if
(
$v
->
voice_file
)
{
$result
[
$k
][
'voice_file'
]
=
CURRENT_URL
.
'public'
.
DS
.
'static'
.
DS
.
'voice'
.
$v
->
voice_file
;
}
else
{
$result
[
$k
][
'voice_file'
]
=
""
;
}
$result
[
$k
][
'time'
]
=
$v
->
time
;
$result
[
$k
][
'time'
]
=
$v
->
time
;
//主叫收费
//主叫收费
if
(
$v
->
call_type
==
0
)
{
if
(
$v
->
call_type
==
0
)
{
...
...
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