xieruidong 2 年之前
父节点
当前提交
c8f9b6ca66
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/common/model/Refund.php

+ 1 - 1
application/common/model/Refund.php

@@ -500,7 +500,7 @@ class Refund Extends Model
         self::beforeInsert(function (self $refund){
             $refund['refund_status']=self::REFUND_ING;
             if($refund->refund_type==self::REFUND_TYPE_HHBX){
-                $refund['fix_order_no']=order_no('wx');
+                $refund->fix_order_no=order_no('wx');
             }
         });
         self::afterUpdate(function (self $refund){