调整变量名
This commit is contained in:
@@ -96,7 +96,6 @@ class WoUnicomWeb
|
||||
*/
|
||||
public function callback($inputs)
|
||||
{
|
||||
info($inputs);
|
||||
if (empty($inputs)) {
|
||||
return '缺少必要参数';
|
||||
}
|
||||
@@ -136,7 +135,7 @@ class WoUnicomWeb
|
||||
|
||||
$payment->state = 'SUCCESS';
|
||||
$payment->out_trade_no = $data['payfloodid'];
|
||||
$payment->type = 'UNICOM';
|
||||
$payment->type = Payment::TYPE_UNICOM_WEB;
|
||||
$payment->paid_at = Carbon::now();
|
||||
$payment->save();
|
||||
$order->paid();
|
||||
@@ -152,7 +151,7 @@ class WoUnicomWeb
|
||||
|
||||
$payment->state = Payment::STATE_SUCCESS;
|
||||
$payment->out_trade_no = $data['payfloodid'];
|
||||
$payment->type = Payment::TYPT_UNICOM_WEB;
|
||||
$payment->type = Payment::TYPE_UNICOM_WEB;
|
||||
$payment->paid_at = Carbon::now();
|
||||
$payment->save();
|
||||
$order->paid();
|
||||
@@ -168,7 +167,7 @@ class WoUnicomWeb
|
||||
|
||||
$payment->state = 'SUCCESS';
|
||||
$payment->out_trade_no = $data['payfloodid'];
|
||||
$payment->type = 'UNICOM';
|
||||
$payment->type = Payment::TYPE_UNICOM_WEB;
|
||||
$payment->paid_at = Carbon::now();
|
||||
$payment->save();
|
||||
$order->paid();
|
||||
@@ -184,7 +183,7 @@ class WoUnicomWeb
|
||||
|
||||
$payment->state = 'SUCCESS';
|
||||
$payment->out_trade_no = $data['payfloodid'];
|
||||
$payment->type = 'UNICOM';
|
||||
$payment->type = Payment::TYPE_UNICOM_WEB;
|
||||
$payment->paid_at = Carbon::now();
|
||||
$payment->save();
|
||||
$order->paid();
|
||||
|
||||
Reference in New Issue
Block a user