$v) if ($v === '') unset($user[$k]); Library::$sapp->event->trigger('WechatFansUpdate', $user); return !!WechatFans::mUpdate($user, 'openid'); } /** * 获取粉丝信息 * @param string $openid * @return array */ public static function get(string $openid): array { return WechatFans::mk()->where(['openid' => $openid])->findOrEmpty()->toArray(); } }