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 |   78 ++++++++++++++++++++++++++-------------
 1 files changed, 52 insertions(+), 26 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 cd8aaf7..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
@@ -1,11 +1,12 @@
 package com.dsh.account.controller;
 
 
+import com.dsh.account.feignclient.other.model.StoreDetailList;
+import com.dsh.account.feignclient.other.model.StoreInfo;
 import com.dsh.account.feignclient.other.model.SysNotice;
-import com.dsh.account.model.vo.exploreDetail.ExploreDatasVo;
 import com.dsh.account.model.vo.exploreDetail.LonLatRequest;
-import com.dsh.account.model.vo.exploreDetails.QuestionDetailsVo;
-import com.dsh.account.model.vo.exploreDetails.QuestionIns;
+import com.dsh.account.model.vo.exploreDetail.QuestionIns;
+import com.dsh.account.model.vo.exploreDetail.StoreDetailsVo;
 import com.dsh.account.service.TStudentService;
 import com.dsh.account.util.ResultUtil;
 import io.swagger.annotations.ApiImplicitParam;
@@ -28,12 +29,12 @@
     private TStudentService tsService;
 
     @ResponseBody
-    @PostMapping("/base/exploreWP/noticeList")
+    @PostMapping("/api/exploreWP/indexOfEx")
     @ApiOperation(value = "联系客服-探索首页", tags = {"APP-探索玩湃"})
     @ApiImplicitParams({
             @ApiImplicitParam(name = "Authorization", value = "Bearer +token", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9.....")
     })
-    public ResultUtil<ExploreDatasVo> indexOfExploreDetail(@RequestBody LonLatRequest llrequest){
+    public ResultUtil<List<StoreInfo>> indexOfExploreDetail(LonLatRequest llrequest){
         try {
             return ResultUtil.success(tsService.queryIndexOfExplores(llrequest));
         }catch (Exception e){
@@ -46,9 +47,6 @@
     @ResponseBody
     @PostMapping("/base/exploreWP/noticeList")
     @ApiOperation(value = "联系客服-公告列表", tags = {"APP-探索玩湃"})
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "Authorization", value = "Bearer +token", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9.....")
-    })
     public ResultUtil<List<SysNotice>> queryNoticeListDatas(){
         try {
             return ResultUtil.success(tsService.querySystemNoticeDetails());
@@ -59,12 +57,9 @@
 
 
     @ResponseBody
-    @PostMapping("/base/exploreWP/noticeList")
+    @PostMapping("/base/exploreWP/noticeDetail")
     @ApiOperation(value = "联系客服-公告详情", tags = {"APP-探索玩湃"})
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "Authorization", value = "Bearer +token", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9.....")
-    })
-    public ResultUtil<SysNotice> queryNotice(@RequestBody Integer noId){
+    public ResultUtil<SysNotice> queryNotice(Integer noId){
         try {
             return ResultUtil.success(tsService.queryNoticeData(noId));
         }catch (Exception e){
@@ -74,14 +69,12 @@
 
 
     @ResponseBody
-    @PostMapping("/base/exploreWP/noticeList")
+    @PostMapping("/base/exploreWP/exceptionList")
     @ApiOperation(value = "联系客服-常见问题列表", tags = {"APP-探索玩湃"})
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "Authorization", value = "Bearer +token", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9.....")
-    })
-    public ResultUtil<QuestionDetailsVo> queryFrequentlyAskedQuestionDetails(){
+    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();
         }
@@ -89,12 +82,12 @@
 
 
     @ResponseBody
-    @PostMapping("/base/exploreWP/noticeList")
+    @PostMapping("/base/exploreWP/exceptionDetail")
     @ApiOperation(value = "联系客服-常见问题详情", tags = {"APP-探索玩湃"})
     @ApiImplicitParams({
-            @ApiImplicitParam(name = "Authorization", value = "Bearer +token", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9.....")
+            @ApiImplicitParam(value = "问题记录id", name = "quesId", required = true, dataType = "int"),
     })
-    public ResultUtil<QuestionIns> queryQuestionData(@RequestBody Integer quesId){
+    public ResultUtil<QuestionIns> queryQuestionData(Integer quesId){
         try {
             return ResultUtil.success(tsService.queryQuestionDataInfo(quesId));
         }catch (Exception e){
@@ -103,11 +96,8 @@
     }
 
     @ResponseBody
-    @PostMapping("/base/exploreWP/noticeList")
+    @PostMapping("/base/exploreWP/customerList")
     @ApiOperation(value = "联系客服-客服电话列表", tags = {"APP-探索玩湃"})
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "Authorization", value = "Bearer +token", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9.....")
-    })
     public ResultUtil<List<String>> queryCustomerData(){
         try {
             return ResultUtil.success(tsService.queryCustomerDetails());
@@ -117,4 +107,40 @@
     }
 
 
+    @ResponseBody
+    @PostMapping("/base/exploreWP/storeList")
+    @ApiOperation(value = "联系客服-门店列表", tags = {"APP-探索玩湃"})
+    @ApiImplicitParams({
+            @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,String search){
+        try {
+            return ResultUtil.success(tsService.queryStoreList(space,cityCode,latitude,longitude,search));
+        }catch (Exception e){
+            return ResultUtil.runErr();
+        }
+    }
+
+
+    @ResponseBody
+    @PostMapping("/base/exploreWP/storeDetail")
+    @ApiOperation(value = "联系客服-门店详情", tags = {"APP-探索玩湃"})
+    @ApiImplicitParams({
+            @ApiImplicitParam(value = "门店id", name = "storeId", required = true, dataType = "int"),
+    })
+    public ResultUtil<StoreDetailsVo> getStoreDetails(Integer storeId){
+        try {
+            return ResultUtil.success(tsService.getStoreDetail(storeId));
+        }catch (Exception e){
+            return ResultUtil.runErr();
+        }
+    }
+
+
+
+
 }

--
Gitblit v1.7.1