mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-07-03 23:46:49 +08:00
修复退款项目空白,以及弹窗高度自适应
This commit is contained in:
parent
5877874d64
commit
7453a1448a
@ -87,7 +87,7 @@ class OrderController extends Controller
|
||||
$order = $service->handle($sn);
|
||||
|
||||
if ($order['status'] != OrderModel::STATUS_PENDING) {
|
||||
$this->response->redirect(['for' => 'home.my.orders']);
|
||||
$this->response->redirect(['for' => 'home.uc.orders']);
|
||||
}
|
||||
|
||||
$this->view->setVar('order', $order);
|
||||
|
@ -44,10 +44,8 @@ class RefundController extends Controller
|
||||
|
||||
$service->handle();
|
||||
|
||||
$location = $this->url->get(['for' => 'home.my.refunds']);
|
||||
|
||||
$content = [
|
||||
'location' => $location,
|
||||
'location' => $this->url->get(['for' => 'home.uc.refunds']),
|
||||
'msg' => '申请退款成功',
|
||||
];
|
||||
|
||||
@ -80,10 +78,8 @@ class RefundController extends Controller
|
||||
|
||||
$service->handle($sn);
|
||||
|
||||
$location = $this->url->get(['for' => 'home.my.refunds']);
|
||||
|
||||
$content = [
|
||||
'location' => $location,
|
||||
'location' => $this->url->get(['for' => 'home.uc.refunds']),
|
||||
'msg' => '取消退款成功',
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user