hasOne(User::class, 'id', 'user_id') ->field('id,sn,nickname,avatar'); } }