代码提交

This commit is contained in:
wong
2025-07-19 14:59:43 +08:00
parent 96a5c32286
commit de35417b23
2 changed files with 2 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ class AuthService
throw new \Exception('用户不存在或已禁用', 403);
}
if ($user->passwordMd5 !== $password) {
if ($user->passwordMd5 !== md5($password)) {
throw new \Exception('账号或密码错误', 403);
}

View File

@@ -102,6 +102,7 @@ Route::group('v1/', function () {
});
//数据统计相关
Route::group('dashboard',function (){
Route::get('', 'app\cunkebao\controller\StatsController@baseInfoStats');
Route::get('plan-stats', 'app\cunkebao\controller\StatsController@planStats');