/** * handle user unsubscribe event * * @param $replyArr * @return bool */ public static function unsubscribe($app, $openId) { UserCache::removeUser($app, $openId); return UserOpenid::deleteUser($app['id'], $openId); }