| | |
| | | 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; |
| | |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "Authorization", value = "Bearer +token", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9.....") |
| | | }) |
| | | public ResultUtil<ExploreDatasVo> indexOfExploreDetail(LonLatRequest llrequest){ |
| | | public ResultUtil<List<StoreInfo>> indexOfExploreDetail(LonLatRequest llrequest){ |
| | | try { |
| | | return ResultUtil.success(tsService.queryIndexOfExplores(llrequest)); |
| | | }catch (Exception e){ |
| | |
| | | @ResponseBody |
| | | @PostMapping("/base/exploreWP/exceptionList") |
| | | @ApiOperation(value = "联系客服-常见问题列表", tags = {"APP-探索玩湃"}) |
| | | public ResultUtil<QuestionDetailsVo> queryFrequentlyAskedQuestionDetails(){ |
| | | public ResultUtil<List<QuestionIns>> queryFrequentlyAskedQuestionDetails(){ |
| | | try { |
| | | return ResultUtil.success(tsService.queryQuestionData()); |
| | | }catch (Exception e){ |
| | |
| | | } |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/base/exploreWP/storeList") |
| | | @ApiOperation(value = "联系客服-门店列表", tags = {"APP-探索玩湃"}) |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(value = "距离数值", 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"), |
| | | }) |
| | | public ResultUtil<List<StoreDetailList>> getStoreListCon(Integer space,String cityCode,String latitude,String longitude){ |
| | | try { |
| | | return ResultUtil.success(tsService.queryStoreList(space,cityCode,latitude,longitude)); |
| | | }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(); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | } |