|
|
|
|
@ -126,6 +126,10 @@ class PayController extends Controller
|
|
|
|
|
DB::table('orders')->where(['id' => $id])->update([
|
|
|
|
|
'status' => 5
|
|
|
|
|
]);
|
|
|
|
|
//恢复号源
|
|
|
|
|
$up_plan = DB::table('plans')->where(['id' => $orderInfo->plan_id, 'status' => 2])->update([
|
|
|
|
|
'status' => 1
|
|
|
|
|
]);
|
|
|
|
|
return \Yz::Return(true, "退款成功", []);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|