mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-08 06:35:37 +08:00
pay alipay
This commit is contained in:
@ -40,12 +40,14 @@ class OrderController extends CommonController
|
||||
{
|
||||
$params = $_REQUEST;
|
||||
$params['user'] = $this->user;
|
||||
|
||||
echo '<pre>';
|
||||
$ret = OrderService::Pay($params);
|
||||
|
||||
|
||||
print_r($ret);
|
||||
if($ret['code'] == 0)
|
||||
{
|
||||
redirect($ret['data']);
|
||||
} else {
|
||||
$this->assign('msg', $ret['msg']);
|
||||
$this->display('/Public/TipsError');
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user