|
@@ -22,7 +22,7 @@ class MeetingModel extends BaseModel
|
|
|
// 设置数据表
|
|
// 设置数据表
|
|
|
protected $table = 'meetings';
|
|
protected $table = 'meetings';
|
|
|
|
|
|
|
|
- protected $appends = ['city','time_text'];
|
|
|
|
|
|
|
+ protected $appends = ['areas','time_text'];
|
|
|
|
|
|
|
|
public function getThumbAttribute($value)
|
|
public function getThumbAttribute($value)
|
|
|
{
|
|
{
|
|
@@ -47,7 +47,7 @@ class MeetingModel extends BaseModel
|
|
|
/**
|
|
/**
|
|
|
* @return array
|
|
* @return array
|
|
|
*/
|
|
*/
|
|
|
- public function getCityAttribute()
|
|
|
|
|
|
|
+ public function getAreasAttribute()
|
|
|
{
|
|
{
|
|
|
return [$this->province_id,$this->city_id,$this->district_id];
|
|
return [$this->province_id,$this->city_id,$this->district_id];
|
|
|
}
|
|
}
|