|
|
|
@ -163,6 +163,17 @@ class PayController extends Controller
|
|
|
|
DB::table('orders')->where('id',$orderInfo->id)->update(['is_refund_yucunkuan'=>1]);
|
|
|
|
DB::table('orders')->where('id',$orderInfo->id)->update(['is_refund_yucunkuan'=>1]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(!empty($orderInfo->youhuiquan)){
|
|
|
|
|
|
|
|
$youhuiquan=json_decode( $orderInfo->youhuiquan,true);
|
|
|
|
|
|
|
|
$data=[
|
|
|
|
|
|
|
|
'action'=>4,
|
|
|
|
|
|
|
|
'ghzid'=>$person->ghzid,
|
|
|
|
|
|
|
|
'dzjid'=>$youhuiquan['id'],
|
|
|
|
|
|
|
|
'hxbz'=>"H5撤销核销",
|
|
|
|
|
|
|
|
'yyid'=>$yyid
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
$AspNet::YouHuiQuan($data);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
DB::table('orders')->where(['id' => $id])->update([
|
|
|
|
DB::table('orders')->where(['id' => $id])->update([
|
|
|
|
|