增加后台基础功能,调整前端菜单返回

This commit is contained in:
mzl@hnxinyouhe.com
2025-08-11 20:09:28 +08:00
parent 7869d6919a
commit 20239dfb6f
23 changed files with 855 additions and 312 deletions
+6 -5
View File
@@ -2,15 +2,16 @@
namespace app\common\logic;
use app\common\traits\crud\CrudLogicTrait;
use app\common\model\CorpFeishuApp;
class CorpFeishuAppLogic
{
use CrudLogicTrait;
public function getFeishuApp($corpId, $systemId)
{
return CorpFeishuApp::where('corp_id', $corpId)->where('system_id', $systemId)->first(['id', 'corp_id', 'name', 'app_id', 'r_url', 'state']);
}
/**
* 指定当前要操作的模型
*/
protected string $modelClass = CorpFeishuApp::class;
}