From 232d3efb20f87f9c60faeda7bae4bc96e5687bd3 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期三, 11 十月 2023 19:19:47 +0800 Subject: [PATCH] 10.12 --- 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