|
@@ -98,7 +98,7 @@ class Docter extends BaseModel
|
|
|
|
|
|
public function getAppointPriceAttribute()
|
|
public function getAppointPriceAttribute()
|
|
{
|
|
{
|
|
- $appoint_price = DocterSetting::where('docter_id', $this->id)->where('type', 1)->where('status', 2)->value('appoint_price');
|
|
|
|
|
|
+ $appoint_price = DocterSetting::where('docter_id', $this->id)->where('type', 1)->where('status', 2)->orderBy('id', 'asc')->value('appoint_price');
|
|
return $appoint_price*100;
|
|
return $appoint_price*100;
|
|
}
|
|
}
|
|
|
|
|