mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-01 03:18:33 +08:00
pay
This commit is contained in:
parent
b790a0c3a1
commit
8f16591c85
@ -196,6 +196,7 @@ class OrderService
|
||||
{
|
||||
return $ret;
|
||||
}
|
||||
file_put_contents('./rrrrrr.txt', json_encode($ret));
|
||||
|
||||
// 兼容web版本支付参数
|
||||
$buyer_email = isset($ret['data']['buyer_logon_id']) ? $ret['data']['buyer_logon_id'] : (isset($ret['data']['buyer_email']) ? $ret['data']['buyer_email'] : '');
|
||||
@ -214,6 +215,7 @@ class OrderService
|
||||
'business_type' => 0,
|
||||
'add_time' => time(),
|
||||
];
|
||||
file_put_contents('./llllll.txt', json_encode($pay_log_data));
|
||||
M('PayLog')->add($pay_log_data);
|
||||
|
||||
// 消息通知
|
||||
@ -231,6 +233,7 @@ class OrderService
|
||||
'pay_time' => time(),
|
||||
'upd_time' => time(),
|
||||
);
|
||||
file_put_contents('./uuuuuu.txt', json_encode($upd_data));
|
||||
if($m->where(['id'=>$data['id']])->save($upd_data))
|
||||
{
|
||||
// 提交事务
|
||||
|
Loading…
Reference in New Issue
Block a user