更新代码,适配php7.4
This commit is contained in:
1 parent
4c3e17d851
commit
b3f52b21d1
4 files changed
+11
-13
No files matched your search
@@ -1813,11 +1813,10 @@ abstract class Connection
|
||||
* @access public
|
||||
* @return integer
|
||||
*/
|
||||
public function getExecuteTimes()
|
||||
public function getExecuteTimes()
|
||||
{
|
||||
return Db::$executeTimes;
|
||||
return json(['times' => Db::$executeTimes]);
|
||||
}
|
||||
|
||||
/**
|
||||
* 关闭数据库(或者重新连接)
|
||||
* @access public
|
||||
|
||||
Reference in new issue
Block a user