更新后端角色编辑

This commit is contained in:
2025-05-29 09:52:52 +08:00
parent 352540b500
commit 46e5333864
2 changed files with 35 additions and 6 deletions
@@ -324,8 +324,8 @@ class YunzeradminController extends Base
public function bannerlist()
{
if (Request::isGet()) {
$page = intval(input('post.page', 1));
$limit = intval(input('post.limit', 10));
$page = intval(input('post.page', 1));
$limit = intval(input('post.limit', 10));
$query = Banner::where('delete_time', null)
->field('id, title, image, url, sort, create_time, update_time');
@@ -451,6 +451,4 @@ class YunzeradminController extends Base
}
return json(['code' => 1, 'msg' => '请求方法无效']);
}
}