public function getWork()
    {
        if (!self::$_work instanceof Factory)
        {
            self::$_work = Factory::work(Yii::$app->params['wechatWorkConfig']);
        }

        return self::$_work;
    }
public function getWork()
    {
        if (!self::$_work instanceof Factory)
        {
            self::$_work = Factory::work(Yii::$app->params['wechatWorkConfig']);
        }

        return self::$_work;
    }
public function getWork ( ) { if ( ! self :: $ _work instanceof Factory ) { self :: $ _work = Factory :: work ( Yii :: $ app -> params [ 'wechatWorkConfig' ] ) ; } return self :: $ _work ; }
获取 EasyWeChat 企业微信实例

@return Factory
获取 EasyWeChat 企业微信实例