소스 검색

Merge branch 'web_sannong_fr' into dev

15313670163 2 달 전
부모
커밋
790809e638
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/JsonRpc/WebsiteService.php

+ 1 - 1
app/JsonRpc/WebsiteService.php

@@ -504,7 +504,7 @@ class WebsiteService implements WebsiteServiceInterface
                      ->where('ad.fromtime', '<=', $now)
                      ->where('ad.totime', '>=', $now);
             })
-            ->select("ad_place.*")
+            ->select("ad_place.*",'ad.*',"ad_place.id as ad_place_id","ad.name as ad_name")
             ->get()->all();
             if(empty($result)){
                 return Result::error("此广告位不存在!",0);