wugg 2 年之前
父节点
当前提交
fecafee000
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/admin/controller/Payment.php

+ 1 - 1
app/admin/controller/Payment.php

@@ -212,7 +212,7 @@ class Payment extends BaseController
                 $paydata['ainv_fee']+= $temp['ainv_fee'];
                 $paydata['winv_fee']+= $temp['winv_fee'];
                 $report=ReportCode::where(["cgdNo"=>$value['sequenceNo']])->find();
-                if($report)setField("payNo",$payNo);
+                if($report)$report->setField("payNo",$payNo);
            }
             $paydata['total_fee']= round($paydata['total_fee'],2);
             $paydata['apay_fee']= round($paydata['apay_fee'],2);