Skip to content

Commit 10be81f

Browse files
committed
fix(other): 相关配置和路由
1 parent 7b942c4 commit 10be81f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

laravel/config/errorCode.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@
199199
'4008' => [
200200
'reason' => '不允许的上传类型,请检查'
201201
],
202+
'4009' => [
203+
'reason' => '查询失败'
204+
],
202205

203206
/*
204207
|--------------------------------------------------------------------------

laravel/routes/api.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
Route::resource('api_excel', 'ApiExcelController');
4545
Route::post('upload', 'ApiExcelController@upload');
4646
Route::any('start_task', 'ApiExcelController@startTask');
47+
Route::any('download_log', 'ApiExcelController@downloadLog');
4748

4849
// 权限相关路由
4950
Route::get('permissions/store', 'PermissionController@store');

0 commit comments

Comments
 (0)