wupengfei 2 vuotta sitten
vanhempi
commit
33aff9ce6c

+ 1 - 4
application/common/model/OfflineOrderItem.php

@@ -5,8 +5,5 @@ use think\Model;
 class OfflineOrderItem extends Model
 {
 
-    public function orderItem()
-    {
-        return  $this->hasMany('OfflineOrderItem','order_id');
-    }
+
 }

+ 4 - 1
application/common/model/OfflineOrderRefund.php

@@ -5,5 +5,8 @@ use think\Model;
 class OfflineOrderRefund extends Model
 {
 
-
+    public function orderItem()
+    {
+        return  $this->hasMany('OfflineOrderItem','order_id');
+    }
 }