支付通知 补单

master
tping 4 years ago
parent 103acdd15d
commit 3471639489

@ -31,8 +31,19 @@ class RepairController extends ThinkController {
'create_time' => time(),
'type' => 1 // 补单
]);
$sp = $spend->where([
'pay_order_number' => $orderNo
])->find();
$rr = $spend->where(array('pay_order_number'=>$orderNo))->save(array('pay_game_status'=>1));
if ($sp['extend']) {
$spend->where([
'extend' => $sp['extend'],
'pay_status' => 1,
'user_id' => $sp['user_id']
])->save(array('pay_game_status' => 1));
}
//操作日志
addOperationLog(array(
"op_type"=>1,

Loading…
Cancel
Save