zilong 4 năm trước cách đây
mục cha
commit
8597452d11
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Models/Docter.php

+ 1 - 1
app/Models/Docter.php

xqd
@@ -69,7 +69,7 @@ class Docter extends BaseModel
     {
         $data = [];
         if (!empty($this->label)) {
-            $data = DocterLabel::select(['name'])->whereIn('id', $this->label)->where('status', 1)->get()->toArray();
+            $data = DocterLabel::select(['label_name'])->whereIn('id', $this->label)->where('status', 1)->get()->toArray();
         }
 
         return $data;