public function register(Container $pimple)
    {
        $pimple['aliyun.auth'] = function ($app) {
            return new AppCode($app['config']->get('ocrs.aliyun.appcode'));
        };

        $pimple['aliyun'] = function ($app) {
            return new OCRManager($app['aliyun.auth']);
        };
    }
public function register(Container $pimple)
    {
        $pimple['aliyun.auth'] = function ($app) {
            return new AppCode($app['config']->get('ocrs.aliyun.appcode'));
        };

        $pimple['aliyun'] = function ($app) {
            return new OCRManager($app['aliyun.auth']);
        };
    }
{@inheritdoc}