增加自媒体渠道

This commit is contained in:
2026-04-23 15:43:22 +08:00
parent 366b005d78
commit 54431cbeb1
19 changed files with 737 additions and 47 deletions
@@ -44,4 +44,15 @@ class AccountCostController extends BaseAdminController
return $this->data(AccountCostLogic::detail((int) $params['id']));
}
public function delete()
{
$params = (new AccountCostValidate())->post()->goCheck('delete');
$result = AccountCostLogic::delete((int) $params['id']);
if ($result === false) {
return $this->fail(AccountCostLogic::getError());
}
return $this->success('删除成功', [], 1, 1);
}
}