qifengquan 1 год назад
Родитель
Сommit
eccecd9e32
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      application/api/controller/Index.php

+ 1 - 0
application/api/controller/Index.php

@@ -290,6 +290,7 @@ class Index extends Api
         $recommenduser['province'] = Area::where('id',$recommenduser['province'])->value('name');
         $recommenduser['city'] = Area::where('id',$recommenduser['city'])->value('name');
         $recommenduser['area'] = Area::where('id',$recommenduser['area'])->value('name');
+        $recommenduser['region_city'] = Area::where('id',$recommenduser['region_city'])->value('name');
         $recommenduser['age'] = $recommenduser['birthday'];
         Like::where([
             'uid'=>$this->auth->id,