Fix
parent
5e4f0b38c3
commit
d4ad4d895d
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\ModelFilters;
|
||||||
|
|
||||||
|
use EloquentFilter\ModelFilter;
|
||||||
|
|
||||||
|
class RiceShrimpWeeklyPriceFilter extends ModelFilter
|
||||||
|
{
|
||||||
|
public function year($year)
|
||||||
|
{
|
||||||
|
return $this->where('year', $year);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function week($week)
|
||||||
|
{
|
||||||
|
return $this->where('week', $week);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -68,7 +68,7 @@
|
||||||
},
|
},
|
||||||
"peidikeji/dcat-admin": {
|
"peidikeji/dcat-admin": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://gitea.peidikeji.cn/pdkj/dcat-admin.git"
|
"url": "https://gitea.hmily.club/pdkj/dcat-admin.git"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -17,7 +17,7 @@ use Illuminate\Support\Facades\Route;
|
||||||
|
|
||||||
Route::post('auth/login', [AuthController::class, 'login']);
|
Route::post('auth/login', [AuthController::class, 'login']);
|
||||||
|
|
||||||
Route::group(['middleware' => 'auth:sanctum'], function () {
|
Route::group([], function () {
|
||||||
|
|
||||||
Route::post('web/upload', [WebController::class, 'upload']);
|
Route::post('web/upload', [WebController::class, 'upload']);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue