Files
fdesk/app/common/logic/CorpFeishuAppLogic.php
T

23 lines
498 B
PHP
Raw Normal View History

2025-07-17 10:42:43 +08:00
<?php
namespace app\common\logic;
2025-08-14 20:08:57 +08:00
use app\common\traits\crud\CrudLogicTrait;
2025-07-17 10:42:43 +08:00
use app\common\model\CorpFeishuApp;
class CorpFeishuAppLogic
{
2025-08-14 20:08:57 +08:00
use CrudLogicTrait;
/**
* 指定当前要操作的模型
*/
protected string $modelClass = CorpFeishuApp::class;
2025-07-17 10:42:43 +08:00
public function getFeishuApp($corpId, $systemId)
2025-07-17 10:42:43 +08:00
{
return CorpFeishuApp::where('corp_id', $corpId)->where('system_id', $systemId)->first(['id', 'corp_id', 'name', 'app_id', 'r_url', 'state']);
2025-07-17 10:42:43 +08:00
}
}