Accept Merge Request #166: (feature/hant -> develop)

Merge Request: Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/hant

Created By: @todayswind
Accepted By: @todayswind
URL: https://g-bcrc3009.coding.net/p/allocatr/d/allocatr/git/merge/166?initial=true
This commit is contained in:
todayswind 2025-06-21 19:49:12 +08:00 committed by Coding
commit 43f2008937

View File

@ -93,7 +93,7 @@ class Item extends Backend
if (false === $this->request->isPost()) {
// 必须将结果集转换为数组
$ruleList = \think\Db::name("item")
->where('pid',0)
// ->where('pid',0)
->field('id,pid,level,title,key_word')
->order('sort DESC,id ASC')->select();
@ -187,7 +187,7 @@ class Item extends Backend
if (false === $this->request->isPost()) {
// 必须将结果集转换为数组
$ruleList = \think\Db::name("item")
->where('pid',0)
// ->where('pid',0)
->field('id,pid,level,title,key_word')
->order('sort DESC,id ASC')->select();