Commit c0198bb4 authored by 康帅杰's avatar 康帅杰 :speech_balloon:
Browse files

modify servieprovider file and

parent 7f03cac4
No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
......@@ -19,7 +19,7 @@ class UploadServiceProvider extends ServiceProvider
public function loadCommands(){
$this->commands([
Console\UploadMakeCommand::class,
\Yjtec\Upload\Console\UploadMakeCommand::class,
]);
}
......@@ -39,13 +39,13 @@ class UploadServiceProvider extends ServiceProvider
public function registerRule(){
$this->app->singleton('upload.rule', function ($app) {
return new Rule(config('upload'));
return new \Yjtec\Upload\Rule(config('upload'));
});
}
public function registerUpload(){
$this->app->singleton('upload',function($app){
return new Upload(config('upload'));
return new \Yjtec\Upload\Upload(config('upload'));
});
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment