From e030255c23c7ba3e2cbad1036a810d6d72fa864f Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期四, 26 十月 2023 18:04:58 +0800 Subject: [PATCH] 修改bug --- cloud-server-account/src/main/java/com/dsh/account/controller/ExploreWPController.java | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/cloud-server-account/src/main/java/com/dsh/account/controller/ExploreWPController.java b/cloud-server-account/src/main/java/com/dsh/account/controller/ExploreWPController.java index a585588..805c510 100644 --- a/cloud-server-account/src/main/java/com/dsh/account/controller/ExploreWPController.java +++ b/cloud-server-account/src/main/java/com/dsh/account/controller/ExploreWPController.java @@ -73,7 +73,8 @@ @ApiOperation(value = "联系客服-常见问题列表", tags = {"APP-探索玩湃"}) public ResultUtil<List<QuestionIns>> queryFrequentlyAskedQuestionDetails(){ try { - return ResultUtil.success(tsService.queryQuestionData()); + List<QuestionIns> questionIns = tsService.queryQuestionData(); + return ResultUtil.success(questionIns); }catch (Exception e){ return ResultUtil.runErr(); } @@ -110,14 +111,15 @@ @PostMapping("/base/exploreWP/storeList") @ApiOperation(value = "联系客服-门店列表", tags = {"APP-探索玩湃"}) @ApiImplicitParams({ - @ApiImplicitParam(value = "距离数值", name = "space", required = true, dataType = "int"), + @ApiImplicitParam(value = "1=升序/2=降序", name = "space", required = true, dataType = "int"), @ApiImplicitParam(value = "城市code", name = "space", required = true, dataType = "string"), @ApiImplicitParam(value = "纬度", name = "latitude", required = true, dataType = "string"), @ApiImplicitParam(value = "经度", name = "longitude", required = true, dataType = "string"), + @ApiImplicitParam(value = "搜索", name = "search", required = true, dataType = "string"), }) - public ResultUtil<List<StoreDetailList>> getStoreListCon(Integer space,String cityCode,String latitude,String longitude){ + public ResultUtil<List<StoreDetailList>> getStoreListCon(Integer space,String cityCode,String latitude,String longitude,String search){ try { - return ResultUtil.success(tsService.queryStoreList(space,cityCode,latitude,longitude)); + return ResultUtil.success(tsService.queryStoreList(space,cityCode,latitude,longitude,search)); }catch (Exception e){ return ResultUtil.runErr(); } -- Gitblit v1.7.1