其余文件

This commit is contained in:
2026-04-14 17:46:22 +08:00
parent 294b68fe37
commit 3691f4db22
1343 changed files with 189847 additions and 0 deletions

View File

@ -0,0 +1,25 @@
<?php
namespace app\api\logic;
use app\common\basics\Logic;
use app\common\model\goods\GoodsColumn;
class GoodsColumnLogic extends Logic
{
/**
* 获取商品栏目列表
*/
public static function getGoodsColumnList()
{
$where = [
'del' => 0, // 未删除
'status' => 1, // 显示
];
$list = GoodsColumn::field('id,name,remark')
->where($where)
->order('sort', 'asc')
->select()
->toArray();
return $list;
}
}