ソースを参照

Merge branch '20250522_diywebfr'

15313670163 1 日 前
コミット
fd26781319
1 ファイル変更4 行追加3 行削除
  1. 4 3
      app/JsonRpc/PublicRpcService.php

+ 4 - 3
app/JsonRpc/PublicRpcService.php

@@ -1057,9 +1057,10 @@ class PublicRpcService implements PublicRpcServiceInterface
 
         // $sorts = array_values(array_unique(array_column($components, 'sort_id')));
         // $result['component'] = $components;
-        // $result['place'] = SectorPlace::where('sector_place.sector_type', $result['place_type'])
-        // ->select('sector_place.*')
-        // ->get()->all();
+        $result['place'] = SectorPlace::where('sector_place.sector_type', $result['place_type'])
+        ->where('sector_place.type_id',1)
+        ->select('sector_place.sector_img')
+        ->first();
         // $key_num = 0;
         // foreach($result['place'] as $key => $value){
         //     if($value['type_id'] == 1){