|
@@ -147,7 +147,7 @@ public class AdCoverController {
|
|
|
*/
|
|
|
@ResponseBody
|
|
|
@RequestMapping(value="/adlist", method = RequestMethod.GET)
|
|
|
- public Result<List<AppAd>> getAdList(@RequestParam(name="photoId") String photoId, @RequestParam(name="userId") Long userId){
|
|
|
+ public Result<List<AppAd>> getAdList(@RequestParam(name = "photoId") String photoId, @RequestParam(name = "userId") Long userId) {
|
|
|
Result<List<AppAd>> result = new Result<>();
|
|
|
AppAd ad = new AppAd();
|
|
|
ad.setPhotoId(Long.valueOf(photoId));
|