wesmiler 2 月之前
父節點
當前提交
0a2f628237
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Models/MeetingModel.php

+ 2 - 2
app/Models/MeetingModel.php

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