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
af77a6d8
Commit
af77a6d8
authored
Feb 18, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
time
parent
0361bd5c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
CallPhoneService.php
application/api_broker/service/CallPhoneService.php
+1
-1
AliYunSecretReport.php
application/model/AliYunSecretReport.php
+2
-2
PrivacyNumber.php
application/task/controller/PrivacyNumber.php
+7
-1
No files found.
application/api_broker/service/CallPhoneService.php
View file @
af77a6d8
...
@@ -564,7 +564,7 @@ class CallPhoneService
...
@@ -564,7 +564,7 @@ class CallPhoneService
$start_time
=
$end_time
-
3600
;
$start_time
=
$end_time
-
3600
;
$save_follow
[
'content'
]
=
'拨打电话,未打跟进。'
;
$save_follow
[
'content'
]
=
'拨打电话,未打跟进。'
;
$follow_where
[
'c
all_time'
]
=
$bind_where
[
'create
_time'
]
=
[
$follow_where
[
'c
reate_time'
]
=
$bind_where
[
'call
_time'
]
=
[
'between'
,
[
date
(
'Y-m-d H:i:s'
,
$start_time
),
date
(
'Y-m-d H:i:s'
,
$end_time
)]
'between'
,
[
date
(
'Y-m-d H:i:s'
,
$start_time
),
date
(
'Y-m-d H:i:s'
,
$end_time
)]
];
];
$bind_where
[
'time'
]
=
[
'>'
,
0
];
$bind_where
[
'time'
]
=
[
'>'
,
0
];
...
...
application/model/AliYunSecretReport.php
View file @
af77a6d8
...
@@ -63,10 +63,10 @@ class AliYunSecretReport extends BaseModel
...
@@ -63,10 +63,10 @@ class AliYunSecretReport extends BaseModel
}
}
if
(
!
empty
(
$start_date
)
&&
!
empty
(
$end_date
))
{
if
(
!
empty
(
$start_date
)
&&
!
empty
(
$end_date
))
{
$where
[
'c
reate
_time'
]
=
[
'between time'
,
$start_date
.
' 00:00:00'
,
$end_date
.
' 23:59:59'
];
$where
[
'c
all
_time'
]
=
[
'between time'
,
$start_date
.
' 00:00:00'
,
$end_date
.
' 23:59:59'
];
}
else
{
}
else
{
$date
=
date
(
'Y-m-d'
);
$date
=
date
(
'Y-m-d'
);
$where
[
'c
reate
_time'
]
=
[
'between time'
,
[
$date
.
' 00:00:00'
,
$date
.
' 23:59:59'
]];
$where
[
'c
all
_time'
]
=
[
'between time'
,
[
$date
.
' 00:00:00'
,
$date
.
' 23:59:59'
]];
}
}
$where
[
'time'
]
=
[
'>'
,
0
];
$where
[
'time'
]
=
[
'>'
,
0
];
...
...
application/task/controller/PrivacyNumber.php
View file @
af77a6d8
...
@@ -176,8 +176,14 @@ class PrivacyNumber
...
@@ -176,8 +176,14 @@ class PrivacyNumber
$where
[
'record_down'
]
=
1
;
$where
[
'record_down'
]
=
1
;
}
}
$fields
=
'id,call_id,call_time,voice_file,type,record_down,mp3_url'
;
if
(
empty
(
$param
[
'date'
]))
{
$date
=
date
(
'Y-m-d'
);
}
else
{
$date
=
date
(
'Y-m-d'
,
strtotime
(
$param
[
'date'
]));
}
$where
[
'call_time'
]
=
[
'BETWEEN'
,
[
$date
.
' 00:00:00'
,
$date
.
' 23:59:59'
]];
$fields
=
'id,call_id,call_time,voice_file,type,record_down,mp3_url'
;
$where
[
'time'
]
=
[
'>'
,
0
];
$where
[
'time'
]
=
[
'>'
,
0
];
$where
[
'type'
]
=
[
'>'
,
0
];
$where
[
'type'
]
=
[
'>'
,
0
];
$down_data
=
$this
->
m_secret_report
->
secretReportAll
(
$fields
,
$where
);
$down_data
=
$this
->
m_secret_report
->
secretReportAll
(
$fields
,
$where
);
...
...
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