You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
308 B

<?php
namespace app\admin\model\project;
use app\common\model\UserCompany;
class Company extends UserCompany
{
protected $resultSetType = 'collection';
public function index($company_id) {
$res = self::with('companyUser')->where('id', $company_id)->find();
return $res;
}
}