添加获取内容详情方法
This commit is contained in:
parent
839895ca4d
commit
751549190b
@ -5,6 +5,7 @@ namespace app\api\logic;
|
||||
use app\common\basics\Logic;
|
||||
use app\common\model\BusinessSchool;
|
||||
use app\common\model\BusinessSchoolCategory;
|
||||
use app\common\model\BusinessSchoolFile;
|
||||
|
||||
class BusinessSchoolLogic extends Logic
|
||||
{
|
||||
@ -82,6 +83,7 @@ class BusinessSchoolLogic extends Logic
|
||||
$article = [];
|
||||
}else{
|
||||
$article = $article->toArray();
|
||||
$article['file'] = BusinessSchoolFile::where('bsid', $id)->select()->toArray();
|
||||
}
|
||||
return $article;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user