fix some bugs
This commit is contained in:
@@ -91,7 +91,7 @@ class Customer extends Authenticatable implements JWTSubject
|
||||
|
||||
public function wallet()
|
||||
{
|
||||
return $this->hasMany(Wallet::class ,'owner')->with(['fund','product'])->select(['cash', 'fund_id','product_id','gold', 'owner']);
|
||||
return $this->hasMany(Wallet::class ,'owner')->with(['fund','product'])->select(['cash', 'fund_id','product_id','gold', 'owner', 'owner_type']);
|
||||
}
|
||||
|
||||
public function orders()
|
||||
|
||||
Reference in New Issue
Block a user