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
08d96ded
Commit
08d96ded
authored
Apr 12, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[]
parent
892537fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
RedisCacheService.php
application/api_broker/service/RedisCacheService.php
+2
-2
AAgentsPhone.php
application/model/AAgentsPhone.php
+1
-0
No files found.
application/api_broker/service/RedisCacheService.php
View file @
08d96ded
...
...
@@ -193,8 +193,8 @@ class RedisCacheService
}
$m_agent_phone
=
new
AAgentsPhone
();
$
data
[
'phone_list'
]
=
$m_agent_phone
->
getAgentsByWhereColumn
([
'agents_id'
=>
$data
[
'id'
],
'status'
=>
0
],
'phone'
);
$data
[
'phone_list'
]
[]
=
$data
[
'phone'
]
;
$
phone_list
=
$m_agent_phone
->
getAgentsByWhereColumn
([
'agents_id'
=>
$data
[
'id'
],
'status'
=>
0
],
'phone'
);
$data
[
'phone_list'
]
=
$phone_list
;
$this
->
setRedisCache
(
$this
->
agent_key
.
$agent_id
,
$data
,
$this
->
max_time
);
}
return
$data
;
...
...
application/model/AAgentsPhone.php
View file @
08d96ded
...
...
@@ -11,6 +11,7 @@ namespace app\model;
class
AAgentsPhone
extends
BaseModel
{
protected
$table
=
'a_agents_phone'
;
/**
* 新增用户手机
*
...
...
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