链街Dcat后台
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.
 
 
 
 

21 lines
367 B

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class LanzuUserRelationBind extends Model
{
protected $table = 'lanzu_user_relation_bind';
public static function getCount($source_id=null)
{
if ($source_id){
return self::where('source_id',$source_id)->count();
}
return self::count();
}
}