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.
20 lines
379 B
20 lines
379 B
2 months ago
|
<?php
|
||
|
namespace app\admin\model;
|
||
|
|
||
|
use app\BaseModel;
|
||
|
use think\facade\Db;
|
||
|
|
||
|
class CardUser extends BaseModel
|
||
|
{
|
||
|
//定义表名
|
||
|
protected $name = 'longbing_card_user';
|
||
|
|
||
|
|
||
|
protected static function init()
|
||
|
{
|
||
|
//TODO:初始化内容
|
||
|
}
|
||
|
public function username($idlist){
|
||
|
return $this->whereIn('id',$idlist)->field('id,avatarUrl')->select();
|
||
|
}
|
||
|
}
|