| | |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "Authorization", value = "Bearer +token", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9.....") |
| | | }) |
| | | public ResultUtil<List<StoreInfo>> indexOfExploreDetail(LonLatRequest llrequest){ |
| | | public ResultUtil<List<StoreInfo>> indexOfExploreDetail(LonLatRequest llrequest) { |
| | | try { |
| | | return ResultUtil.success(tsService.queryIndexOfExplores(llrequest)); |
| | | }catch (Exception e){ |
| | | } catch (Exception e) { |
| | | return ResultUtil.runErr(); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/base/exploreWP/noticeList") |
| | | @ApiOperation(value = "联系客服-公告列表", tags = {"APP-探索玩湃"}) |
| | | public ResultUtil<List<SysNotice>> queryNoticeListDatas(){ |
| | | public ResultUtil<List<SysNotice>> queryNoticeListDatas() { |
| | | try { |
| | | return ResultUtil.success(tsService.querySystemNoticeDetails()); |
| | | }catch (Exception e){ |
| | | } catch (Exception e) { |
| | | return ResultUtil.runErr(); |
| | | } |
| | | } |
| | |
| | | @ResponseBody |
| | | @PostMapping("/base/exploreWP/noticeDetail") |
| | | @ApiOperation(value = "联系客服-公告详情", tags = {"APP-探索玩湃"}) |
| | | public ResultUtil<SysNotice> queryNotice(Integer noId){ |
| | | public ResultUtil<SysNotice> queryNotice(Integer noId) { |
| | | try { |
| | | return ResultUtil.success(tsService.queryNoticeData(noId)); |
| | | }catch (Exception e){ |
| | | } catch (Exception e) { |
| | | return ResultUtil.runErr(); |
| | | } |
| | | } |
| | |
| | | @ResponseBody |
| | | @PostMapping("/base/exploreWP/exceptionList") |
| | | @ApiOperation(value = "联系客服-常见问题列表", tags = {"APP-探索玩湃"}) |
| | | public ResultUtil<List<QuestionIns>> queryFrequentlyAskedQuestionDetails(){ |
| | | public ResultUtil<List<QuestionIns>> queryFrequentlyAskedQuestionDetails() { |
| | | try { |
| | | return ResultUtil.success(tsService.queryQuestionData()); |
| | | }catch (Exception e){ |
| | | List<QuestionIns> questionIns = tsService.queryQuestionData(); |
| | | return ResultUtil.success(questionIns); |
| | | } catch (Exception e) { |
| | | return ResultUtil.runErr(); |
| | | } |
| | | } |
| | |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(value = "问题记录id", name = "quesId", required = true, dataType = "int"), |
| | | }) |
| | | public ResultUtil<QuestionIns> queryQuestionData(Integer quesId){ |
| | | public ResultUtil<QuestionIns> queryQuestionData(Integer quesId) { |
| | | try { |
| | | return ResultUtil.success(tsService.queryQuestionDataInfo(quesId)); |
| | | }catch (Exception e){ |
| | | } catch (Exception e) { |
| | | return ResultUtil.runErr(); |
| | | } |
| | | } |
| | |
| | | @ResponseBody |
| | | @PostMapping("/base/exploreWP/customerList") |
| | | @ApiOperation(value = "联系客服-客服电话列表", tags = {"APP-探索玩湃"}) |
| | | public ResultUtil<List<String>> queryCustomerData(){ |
| | | public ResultUtil<List<String>> queryCustomerData() { |
| | | try { |
| | | return ResultUtil.success(tsService.queryCustomerDetails()); |
| | | }catch (Exception e){ |
| | | } catch (Exception e) { |
| | | return ResultUtil.runErr(); |
| | | } |
| | | } |
| | |
| | | @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(); |
| | | } |
| | | public ResultUtil<List<StoreDetailList>> getStoreListCon(Integer space, String cityCode, String latitude, String longitude, String search) { |
| | | return ResultUtil.success(tsService.queryStoreList(space, cityCode, longitude, latitude, search)); |
| | | } |
| | | |
| | | |
| | |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(value = "门店id", name = "storeId", required = true, dataType = "int"), |
| | | }) |
| | | public ResultUtil<StoreDetailsVo> getStoreDetails(Integer storeId){ |
| | | public ResultUtil<StoreDetailsVo> getStoreDetails(Integer storeId) { |
| | | try { |
| | | return ResultUtil.success(tsService.getStoreDetail(storeId)); |
| | | }catch (Exception e){ |
| | | } catch (Exception e) { |
| | | return ResultUtil.runErr(); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | } |