Skip to content

Commit ca3a18c

Browse files
committed
调整php8异常
1 parent c984b91 commit ca3a18c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/providers/HyperfService.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,8 @@ static function handleResponseJson($res)
7373
{
7474
return $res;
7575
}
76+
77+
static function getTablePrefix(){
78+
return config('databases.default.prefix','');
79+
}
7680
}

src/providers/ThinkPHPService.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,5 @@ static function handleResponseJson($res){
6363
return json($res);
6464
}
6565

66-
// static function handlException($status,$msg){
67-
// return \think\exception\HttpException($status, $msg);
68-
// }
69-
7066

7167
}

0 commit comments

Comments
 (0)