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
34df3da1
Commit
34df3da1
authored
Apr 10, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
bd5220f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
SquareService.php
application/api_broker/service/SquareService.php
+7
-6
No files found.
application/api_broker/service/SquareService.php
View file @
34df3da1
...
@@ -292,19 +292,20 @@ class SquareService
...
@@ -292,19 +292,20 @@ class SquareService
return
$res
;
return
$res
;
}
}
/**
* 评论置顶
* @param $params
* @return $this|bool
*/
public
function
editCommenSort
(
$params
)
public
function
editCommenSort
(
$params
)
{
{
$where_params
[
'id'
]
=
$params
[
'id'
];
$where_params
[
'id'
]
=
$params
[
'id'
];
$update_params
=
[];
$update_params
=
[];
//城市
if
(
!
empty
(
$params
[
'sort'
]))
{
$update_params
[
'sort'
]
=
$params
[
'sort'
];
}
if
(
!
$update_params
)
{
if
(
!
isset
(
$params
[
'sort'
]))
{
return
false
;
return
false
;
}
}
$update_params
[
'sort'
]
=
$params
[
'sort'
];
$res
=
$this
->
m_coment
->
updateStatus
(
$where_params
,
$update_params
);
$res
=
$this
->
m_coment
->
updateStatus
(
$where_params
,
$update_params
);
return
$res
;
return
$res
;
}
}
...
...
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