hasOne(user::class, 'id', 'user_id') ->field('id,sn,nickname,avatar,level,mobile,sex,create_time'); } }