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
7663057e
Commit
7663057e
authored
Apr 04, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
b61dc627
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
SquareService.php
application/api_broker/service/SquareService.php
+3
-5
No files found.
application/api_broker/service/SquareService.php
View file @
7663057e
...
@@ -115,13 +115,11 @@ class SquareService
...
@@ -115,13 +115,11 @@ class SquareService
$res
[
$key
][
'img'
]
=
'http://n.sinaimg.cn/ent/transform/20170921/FVGl-fymesmp0851702.jpg'
;
$res
[
$key
][
'img'
]
=
'http://n.sinaimg.cn/ent/transform/20170921/FVGl-fymesmp0851702.jpg'
;
$get_params
=
[];
$get_params
=
[];
$field
=
'CommentExt.id,CommentExt.comment,AgentA.name as agent_id_a,AgentB.name as agent_id_b'
;
//
$field
=
'CommentExt.id,CommentExt.
level,CommentExt.
comment,AgentA.name as agent_id_a,AgentB.name as agent_id_b'
;
//
$get_params
[
'CommentExt.comment_id'
]
=
$val
[
'id'
];
$get_params
[
'CommentExt.comment_id'
]
=
$val
[
'id'
];
// dump($val);
// dump($field);
// dump($get_params);
$res
[
$key
][
'comment_ext'
]
=
$this
->
m_coment_ext
->
getSquareCommentExtList
(
1
,
2
,
$field
,
$get_params
);
$res
[
$key
][
'comment_ext'
][
'total'
]
=
$this
->
m_coment_ext
->
getSquareCommentExtListTotal
(
$field
,
$get_params
);
$res
[
$key
][
'comment_ext'
][
'list'
]
=
$this
->
m_coment_ext
->
getSquareCommentExtList
(
1
,
2
,
$field
,
$get_params
);
}
}
return
[
'data'
=>
$res
,
'total'
=>
$res_total
];
return
[
'data'
=>
$res
,
'total'
=>
$res_total
];
...
...
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