shoppingmallv2 init...

This commit is contained in:
최준흠git config git config --helpgit config --global user.name 최준흠 2023-08-13 17:54:44 +09:00
parent a80d7f1065
commit 3e55c62922
2 changed files with 4 additions and 1 deletions

View File

@ -152,6 +152,7 @@ define('URLS', [
'LOGIN' => '/front/user/login',
'SIGNUP' => '/front/user/signup',
'LOGOUT' => '/front/user/logout',
'Order' => '/front/order',
'addCart' => '/front/order/addCart',
'cancelCart' => '/front/order/cancelCart',
'cardPayment' => '/front/order/cardPayment',

View File

@ -118,7 +118,9 @@ class CartController extends OrderController
$entity->quantity,
number_format($entity->price)
);
return redirect()->to($this->_session->getFlashdata(SESSION_NAMES['RETURN_URL']));
//Return URL clear -> 장바구니로 바로 이동
$this->_session->getFlashdata(SESSION_NAMES['RETURN_URL']);
return redirect()->to(URLS['Order']);
} catch (\Exception $e) {
//Transaction Rollback
$this->_model->transRollback();