Authored by 郝肖肖

支付成功返回界面

... ... @@ -23,18 +23,18 @@ class Yohobuy
// const YOHOBUY_URL = 'http://www.yohobuy.com/';
//java API
const API_URL = 'http://api.yoho.yohoops.org/';
const API_URL2 = 'http://api.yoho.yohoops.org/';
const SERVICE_URL = 'http://service.yoho.yohoops.org/';
const YOHOBUY_URL = 'http://www.yohobuy.com/';
const API_OLD = 'http://api2.open.yohobuy.com/';
const SERVICE_NOTIFY = 'http://service.yoho.cn/';
// const API_URL = 'http://api.yoho.yohoops.org/';
// const API_URL2 = 'http://api.yoho.yohoops.org/';
// const SERVICE_URL = 'http://service.yoho.yohoops.org/';
// const YOHOBUY_URL = 'http://www.yohobuy.com/';
// const API_OLD = 'http://api2.open.yohobuy.com/';
// const SERVICE_NOTIFY = 'http://service.yoho.cn/';
// 测试环境 */
/*const API_URL = 'http://testapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/'
const API_URL = 'http://testapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/'
const SERVICE_URL = 'http://testservice.yoho.cn:28077/';
const YOHOBUY_URL = 'http://www.yohobuy.com/';
const SERVICE_NOTIFY = 'http://testapi.yoho.cn:28078/';*/
const SERVICE_NOTIFY = 'http://testapi.yoho.cn:28078/';
/* 预览环境 */
// const API_URL = 'http://preapi.yoho.cn/';
... ...
{{> layout/header}}
<div class="pay-back-page">
<div class="success-order">
<div class="success-order-info">
<div class="icon-right"><em class="icon-uni3D"></em></div>
<h2>您的订单已支付成功!</h2>
</div>
<div class="success-notice">
<span><em class="icon-uni21"></em></span>提示:请去成功订单查看订单详情。
</div>
<div class="success btn pt50">
<a href="/">继续逛</a>
<a href="/home/orders/detail?order_code=<?php echo $this->order_code; ?>">查看订单</a>
</div>
</div>
</div>
{{> layout/footer}}
\ No newline at end of file
... ...
{{> layout/header}}
<div class="pay-back-page">
<div class="order-failure">
<p>订单提交失败!</p>
<div class="success-notice">
<span><em class="icon-uni21"></em></span>提示:支付失败
</div>
</div>
</div>
{{> layout/footer}}
\ No newline at end of file
... ...
... ... @@ -87,7 +87,22 @@ class PayController extends AbstractAction
}
while (false);
}
/**
* 支付成功回调页面
*/
public function aliwapreturnAction()
{
$this->setTitle('支付中心');
$this->setNavHeader('支付中心', Helpers::url('/home/orders'), false);
$data = array(
'payBackPage' => true,
'pageFooter' => true
);
// 渲染模板
$this->_view->display('index', $data);
}
/**
* 微信支付 - 获取JSAPI参数
*
... ...