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
277 B
17 lines
277 B
5 months ago
|
<?php
|
||
|
namespace app\card\model;
|
||
|
|
||
|
use app\BaseModel;
|
||
|
|
||
|
|
||
|
|
||
|
class UserFollow extends BaseModel
|
||
|
{
|
||
|
//定义表名
|
||
|
protected $name = 'longbing_card_user_follow';
|
||
|
public function getCount($where){
|
||
|
$data = $this->where($where)->count();
|
||
|
return $data;
|
||
|
}
|
||
|
|
||
|
}
|