pay alipay

This commit is contained in:
gongfuxiang
2018-09-28 01:13:01 +08:00
parent dc9512ac1c
commit dff4e631f9
4 changed files with 208 additions and 18 deletions

View File

@ -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');
}
}
}
?>