zilong 4 years ago
parent
commit
8597452d11
1 changed files with 1 additions and 1 deletions
  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;