Commit 5434cc46 authored by hj's avatar hj

更新提交

parent 44bd4397
......@@ -17,5 +17,9 @@ $api->version('v1', function($api) {
$api->post('/openapi/chemicals/msds/get', ['permission' => 'chemicals.getMsds', 'uses'=>'MsdsController@getMsds']);
});
$api->group(['namespace'=>'App\Http\Controllers\V1\Chemicals','middleware' => ['throttle:60,1']], function($api) {
$api->get('/storage/download/{path}', ['uses'=>'MsdsController@downloadFile']);
});
});
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