新增公共数据接口i

This commit is contained in:
mzl
2025-07-11 17:15:10 +08:00
parent 1a2cb17785
commit abd6d5516e
7 changed files with 121 additions and 3 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
namespace app\common\logic;
use app\common\model\Corp;
class CorpLogic
{
public function getList()
{
return Corp::where('status', 1)->orderBy('sort', 'asc')->get(['id', 'name', 'abbr', 'tenant_key']);
}
}