trafficmonitor init...2
This commit is contained in:
parent
3668cfbcb8
commit
b0e304592a
@ -108,8 +108,6 @@ abstract class AdminController extends CommonController
|
||||
{
|
||||
$action = __FUNCTION__;
|
||||
try {
|
||||
//초기화
|
||||
$this->action_init_process($action);
|
||||
list($entity, $message) = $this->delete_process($uid);
|
||||
$redirect_url = $this->getAuthContext()->popPreviousUrl() ?? implode(DIRECTORY_SEPARATOR, $this->getActionPaths());
|
||||
return redirect()->to($redirect_url)->with('message', $message);
|
||||
|
||||
@ -19,8 +19,7 @@ class TrafficModel extends CommonModel
|
||||
"switch",
|
||||
"ip",
|
||||
"interface",
|
||||
"in",
|
||||
"out",
|
||||
"status",
|
||||
"updated_at"
|
||||
];
|
||||
public function __construct()
|
||||
|
||||
@ -171,6 +171,7 @@ abstract class CommonService
|
||||
$errorMsg = is_array($errors) ? implode(", ", $errors) : "업데이트 작업이 실패했습니다.";
|
||||
throw new RuntimeException(__METHOD__ . "에서 오류발생: " . $errorMsg);
|
||||
}
|
||||
log_message('debug', $this->model->getLastQuery());
|
||||
return $this->handle_save_result($result, $uid);
|
||||
}
|
||||
public function modify($uid, object $dto): CommonEntity
|
||||
|
||||
Loading…
Reference in New Issue
Block a user