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