code: public function getOpenPlatform()
      {
          if (!self::$_openPlatform instanceof Factory)
          {
              self::$_openPlatform = Factory::openPlatform(Yii::$app->params['wechatOpenPlatformConfig']);
          }
  
          return self::$_openPlatform;
      }
docs: 获取 EasyWeChat 微信第三方开放平台实例
  
  @return Factory