This commit is contained in:
Jaeger
2018-12-10 01:27:48 +08:00
parent 661bc3168d
commit c32736bd9e
7 changed files with 161 additions and 0 deletions

View File

@@ -23,5 +23,9 @@ class HttpServiceProvider implements ServiceProviderContract
$kernel->bind('post',function (...$args){
return HttpService::post($this,...$args);
});
$kernel->bind('postJson',function (...$args){
return HttpService::postJson($this,...$args);
});
}
}