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
c16eee4d
Commit
c16eee4d
authored
Sep 26, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
aba919b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
15 deletions
+4
-15
ImageDepot.php
application/index/controller/ImageDepot.php
+4
-15
No files found.
application/index/controller/ImageDepot.php
View file @
c16eee4d
...
@@ -6,6 +6,7 @@ use app\index\extend\Basic;
...
@@ -6,6 +6,7 @@ use app\index\extend\Basic;
use
app\index\service\PositionService
;
use
app\index\service\PositionService
;
use
app\index\service\UserAgentService
;
use
app\index\service\UserAgentService
;
use
app\index\service\UserCallStintService
;
use
app\index\service\UserCallStintService
;
use
app\index\service\UserLogService
;
use
app\model\AAgents
;
use
app\model\AAgents
;
use
app\model\GImageDepot
;
use
app\model\GImageDepot
;
...
@@ -206,21 +207,9 @@ class ImageDepot extends Basic
...
@@ -206,21 +207,9 @@ class ImageDepot extends Basic
//
//
// dump($agentIds);
// dump($agentIds);
$is_user_agent
=
false
;
$a
=
new
UserLogService
();
$agent_id
=
6612
;
$agentIds
=
$a
->
userDetailIsOutpaceCallNumPhone
(
'15899987777'
,
'78888'
);
$user_id
=
135651
;
dump
(
$agentIds
);
$s_user_agent
=
new
UserAgentService
();
$sql_res
=
$s_user_agent
->
getUserAgentId
(
$user_id
);
if
(
$sql_res
)
{
$user_agent_list
=
array_column
(
$sql_res
,
'agent_id'
);
if
(
in_array
(
$agent_id
,
$user_agent_list
)){
dump
(
$user_agent_list
);
exit
;
$is_user_agent
=
true
;
}
}
}
}
...
...
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