mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
@@ -13,7 +13,7 @@ namespace think\controller;
|
||||
|
||||
use think\Response;
|
||||
|
||||
abstract class rest
|
||||
abstract class Rest
|
||||
{
|
||||
|
||||
protected $_method = ''; // 当前请求类型
|
||||
|
||||
@@ -73,6 +73,7 @@ trait Query
|
||||
$this->commit();
|
||||
} catch (\think\exception $e) {
|
||||
$this->rollback();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user