| | |
| | | import com.doumee.dao.business.model.Areas; |
| | | import com.doumee.dao.business.model.Banner; |
| | | import com.doumee.dao.business.model.Category; |
| | | import com.doumee.dao.dto.AreasDto; |
| | | import com.doumee.dao.dto.CalculateLocalPriceDTO; |
| | | import com.doumee.dao.dto.CalculateRemotePriceDTO; |
| | | import com.doumee.dao.dto.SameCityCheckDTO; |
| | |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | @Autowired |
| | | private MemberService memberService; |
| | | |
| | | @ApiOperation("全部区划树形查询") |
| | | @PostMapping("/treeList") |
| | | public ApiResponse<List<Areas>> treeList (@RequestBody AreasDto pageWrap) { |
| | | Areas a = new Areas(); |
| | | BeanUtils.copyProperties(pageWrap,a); |
| | | areasService.cacheData(); |
| | | return ApiResponse.success(areasService.findList(a)); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取分类列表", notes = "小程序端") |
| | | @GetMapping("/getCategoryList") |
| | | @ApiImplicitParams({ |