|
@@ -62,7 +62,7 @@ class AwardIntegral extends BaseModel
|
|
|
|
|
|
public function user_order()
|
|
|
{
|
|
|
- return $this->hasOne(StoreOrder::class, 'id', 'order_id');
|
|
|
+ return $this->hasOne(StoreOrder::class, 'id', 'order_id')->field('order_id');
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -118,7 +118,6 @@ class AwardIntegral extends BaseModel
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 门店ID
|
|
|
* @param $query
|