Explorar el Código

修复:提交售后单时报错

萤火科技 hace 5 años
padre
commit
47203f3bce
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/api/model/OrderRefund.php

+ 1 - 1
app/api/model/OrderRefund.php

@@ -191,7 +191,7 @@ class OrderRefund extends OrderRefundModel
             ]);
             // 记录凭证图片关系
             if (isset($data['images']) && !empty($data['images'])) {
-                $this->saveImages($this['order_refund_id'], $data['images']);
+                $this->saveImages((int)$this['order_refund_id'], $data['images']);
             }
             return true;
         });