1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-07-03 23:46:49 +08:00

修复退款项目空白,以及弹窗高度自适应

This commit is contained in:
xiaochong0302 2020-11-10 14:33:27 +08:00
parent 5877874d64
commit 7453a1448a
2 changed files with 3 additions and 7 deletions

View File

@ -87,7 +87,7 @@ class OrderController extends Controller
$order = $service->handle($sn); $order = $service->handle($sn);
if ($order['status'] != OrderModel::STATUS_PENDING) { 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); $this->view->setVar('order', $order);

View File

@ -44,10 +44,8 @@ class RefundController extends Controller
$service->handle(); $service->handle();
$location = $this->url->get(['for' => 'home.my.refunds']);
$content = [ $content = [
'location' => $location, 'location' => $this->url->get(['for' => 'home.uc.refunds']),
'msg' => '申请退款成功', 'msg' => '申请退款成功',
]; ];
@ -80,10 +78,8 @@ class RefundController extends Controller
$service->handle($sn); $service->handle($sn);
$location = $this->url->get(['for' => 'home.my.refunds']);
$content = [ $content = [
'location' => $location, 'location' => $this->url->get(['for' => 'home.uc.refunds']),
'msg' => '取消退款成功', 'msg' => '取消退款成功',
]; ];