|
|
|
@ -32,7 +32,18 @@ class RepairController extends ThinkController {
|
|
|
|
|
'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,
|
|
|
|
|