Commit 4b627005 authored by hangjun83's avatar hangjun83

财务开票模块更新

parent accd539f
...@@ -61,4 +61,11 @@ class InvoiceController extends Controller ...@@ -61,4 +61,11 @@ class InvoiceController extends Controller
} }
} }
public function baiwangInvoiceDownload(Request $request)
{
$requestParams = $this->formatKeysfromArray($request->all(),'toUnderScore');
var_dump($requestParams);
exit;
}
} }
...@@ -15,6 +15,7 @@ $api->version('v1', function($api) { ...@@ -15,6 +15,7 @@ $api->version('v1', function($api) {
$api->group(['namespace'=>'App\Http\Controllers\V1\Finance','middleware' => ['throttle:60,1']], function($api) { $api->group(['namespace'=>'App\Http\Controllers\V1\Finance','middleware' => ['throttle:60,1']], function($api) {
$api->post('/finance/invoice/baiwang/apiCallBack', ['uses'=>'InvoiceController@baiwangInvoiceCallBack']); $api->post('/finance/invoice/baiwang/apiCallBack', ['uses'=>'InvoiceController@baiwangInvoiceCallBack']);
$api->get('/finance/invoice/download', ['uses'=>'InvoiceController@baiwangInvoiceDownload']);
}); });
$api->group(['namespace'=>'App\Http\Controllers\V1\Finance','middleware' => ['throttle:60,1','apiAuth'], 'providers' => 'jwt'], function($api) { $api->group(['namespace'=>'App\Http\Controllers\V1\Finance','middleware' => ['throttle:60,1','apiAuth'], 'providers' => 'jwt'], function($api) {
......
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