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
bb0f3e42
Commit
bb0f3e42
authored
May 13, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
fecef142
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
Square.php
application/api_broker/controller/Square.php
+2
-2
SquareService.php
application/api_broker/service/SquareService.php
+1
-2
route.php
application/route.php
+1
-1
No files found.
application/api_broker/controller/Square.php
View file @
bb0f3e42
...
@@ -194,7 +194,7 @@ class Square extends Basic
...
@@ -194,7 +194,7 @@ class Square extends Basic
* 评论详情
* 评论详情
* @return \think\Response
* @return \think\Response
*/
*/
public
function
getCommenInfo
()
public
function
getCommen
t
Info
()
{
{
$params
=
$this
->
params
;
$params
=
$this
->
params
;
...
@@ -202,7 +202,7 @@ class Square extends Basic
...
@@ -202,7 +202,7 @@ class Square extends Basic
return
$this
->
response
(
"101"
,
"参数不全"
);
return
$this
->
response
(
"101"
,
"参数不全"
);
}
}
$result
=
$this
->
s_square
->
getCommenInfo
(
$params
,
$this
->
agentId
);
$result
=
$this
->
s_square
->
getCommen
t
Info
(
$params
,
$this
->
agentId
);
if
(
$result
)
{
if
(
$result
)
{
return
$this
->
response
(
"200"
,
"成功"
,
$result
);
return
$this
->
response
(
"200"
,
"成功"
,
$result
);
...
...
application/api_broker/service/SquareService.php
View file @
bb0f3e42
...
@@ -373,7 +373,6 @@ class SquareService
...
@@ -373,7 +373,6 @@ class SquareService
* @param $agent_id_b
* @param $agent_id_b
* @param $comment
* @param $comment
* @param $level
* @param $level
* @param $agent_name
* @param $square_id
* @param $square_id
* @return bool
* @return bool
*/
*/
...
@@ -409,7 +408,7 @@ class SquareService
...
@@ -409,7 +408,7 @@ class SquareService
* @param $agent_id
* @param $agent_id
* @return array|false|\PDOStatement|string|\think\Model
* @return array|false|\PDOStatement|string|\think\Model
*/
*/
public
function
getCommenInfo
(
$params
,
$agent_id
)
public
function
getCommen
t
Info
(
$params
,
$agent_id
)
{
{
$field
=
'Comment.id,Comment.comment,Comment.create_time,Comment.agent_id'
;
//
$field
=
'Comment.id,Comment.comment,Comment.create_time,Comment.agent_id'
;
//
$get_params
[
'Comment.id'
]
=
$params
[
'id'
];
$get_params
[
'Comment.id'
]
=
$params
[
'id'
];
...
...
application/route.php
View file @
bb0f3e42
...
@@ -884,7 +884,7 @@ Route::group('broker', [
...
@@ -884,7 +884,7 @@ Route::group('broker', [
'getSquareInfo'
=>
[
'api_broker/Square/getSquareInfo'
,
[
'method'
=>
'GET|POST'
]
],
'getSquareInfo'
=>
[
'api_broker/Square/getSquareInfo'
,
[
'method'
=>
'GET|POST'
]
],
'addComent'
=>
[
'api_broker/Square/addComment'
,
[
'method'
=>
'GET|POST'
]
],
'addComent'
=>
[
'api_broker/Square/addComment'
,
[
'method'
=>
'GET|POST'
]
],
'getSquareCommentList'
=>
[
'api_broker/Square/getSquareCommentList'
,
[
'method'
=>
'GET|POST'
]
],
'getSquareCommentList'
=>
[
'api_broker/Square/getSquareCommentList'
,
[
'method'
=>
'GET|POST'
]
],
'getCommenInfo'
=>
[
'api_broker/Square/getCommenInfo'
,
[
'method'
=>
'GET|POST'
]
],
'getCommenInfo'
=>
[
'api_broker/Square/getCommen
t
Info'
,
[
'method'
=>
'GET|POST'
]
],
'getSquareCommentExtList'
=>
[
'api_broker/Square/getSquareCommentExtList'
,
[
'method'
=>
'GET|POST'
]
],
'getSquareCommentExtList'
=>
[
'api_broker/Square/getSquareCommentExtList'
,
[
'method'
=>
'GET|POST'
]
],
'editCommenSort'
=>
[
'api_broker/Square/editCommenSort'
,
[
'method'
=>
'GET|POST'
]
],
'editCommenSort'
=>
[
'api_broker/Square/editCommenSort'
,
[
'method'
=>
'GET|POST'
]
],
'getDistrictLable'
=>
[
'api_broker/Square/getDistrictLable'
,
[
'method'
=>
'GET|POST'
]
],
'getDistrictLable'
=>
[
'api_broker/Square/getDistrictLable'
,
[
'method'
=>
'GET|POST'
]
],
...
...
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