deploy: auto commit server changes 2026-06-12 18:38:59

This commit is contained in:
hajimi
2026-06-12 18:39:00 +08:00
parent 4509279ac7
commit 30d768a3e6
234 changed files with 414 additions and 261 deletions
@@ -17,6 +17,7 @@ class CommunityCommentController extends BaseAdminController
public function updateStatus()
{
$params = (new CommunityCommentValidate())->post()->goCheck('status');
$params['comment_type'] = (string) $params['comment_type'];
$result = CommunityCommentLogic::updateStatus($params);
if (true === $result) {
return $this->success('修改成功', [], 1, 1);
@@ -27,7 +28,11 @@ class CommunityCommentController extends BaseAdminController
public function delete()
{
$params = (new CommunityCommentValidate())->post()->goCheck('delete');
CommunityCommentLogic::delete($params);
$params['comment_type'] = (string) $params['comment_type'];
$result = CommunityCommentLogic::delete($params);
if (false === $result) {
return $this->fail(CommunityCommentLogic::getError());
}
return $this->success('删除成功', [], 1, 1);
}
}