Files
jianfeng-server/app/admin/model/CardUser.php
2025-10-02 10:33:06 +08:00

20 lines
379 B
PHP
Executable File

<?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();
}
}