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
1c1d4321
Commit
1c1d4321
authored
Apr 08, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
64f1e1ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
SquareService.php
application/api_broker/service/SquareService.php
+4
-1
BCommentExt.php
application/model/BCommentExt.php
+1
-1
No files found.
application/api_broker/service/SquareService.php
View file @
1c1d4321
...
...
@@ -117,7 +117,7 @@ class SquareService
foreach
(
$res
as
$key
=>
$val
)
{
$agent
=
$this
->
redis
->
getRedisCache
(
2
,
$val
[
'agent_id'
])
;
$res
[
$key
][
'name'
]
=
$agent
[
'name'
];
$res
[
$key
][
'img'
]
=
AGENTHEADERIMGURL
.
$agent
[
'img'
];
;
$res
[
$key
][
'img'
]
=
AGENTHEADERIMGURL
.
$agent
[
'img'
];
$get_params
=
[];
$list
=
[];
...
...
@@ -302,7 +302,10 @@ class SquareService
$agent_a
=
$this
->
redis
->
getRedisCache
(
2
,
$val2
[
'agent_id_a'
])
;
$agent_b
=
$this
->
redis
->
getRedisCache
(
2
,
$val2
[
'agent_id_b'
])
;
$res
[
$key2
][
'agent_name_a'
]
=
$agent_a
[
'name'
];
$res
[
$key2
][
'agent_name_a_img'
]
=
AGENTHEADERIMGURL
.
$agent_a
[
'img'
];
$res
[
$key2
][
'agent_name_b'
]
=
$agent_b
[
'name'
];
$res
[
$key2
][
'agent_name_b_img'
]
=
AGENTHEADERIMGURL
.
$agent_b
[
'img'
];
}
}
...
...
application/model/BCommentExt.php
View file @
1c1d4321
...
...
@@ -36,7 +36,7 @@ class BCommentExt extends Model
public
function
getSquareCommentExtListTotal
(
$field
,
$params
)
{
$order
=
"CommentExt.create_time desc"
;
//
$order = "CommentExt.create_time desc";
$result
=
Db
::
table
(
$this
->
table
)
->
field
(
$field
)
->
alias
(
'CommentExt'
)
...
...
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