| package com.doumee.api.web; | 
|   | 
| import com.doumee.biz.zbom.ZbomZhongTaiService; | 
| import com.doumee.config.annotation.UserLoginRequired; | 
| import com.doumee.core.annotation.trace.Trace; | 
| import com.doumee.core.model.ApiResponse; | 
| import com.doumee.dao.business.model.SmsEmail; | 
| import com.doumee.dao.web.response.AccountResponse; | 
| import com.doumee.dao.web.response.ZSZXCatalogResponse; | 
| import com.doumee.service.business.SmsEmailService; | 
| import com.doumee.service.business.UsersService; | 
| import io.swagger.annotations.Api; | 
| import io.swagger.annotations.ApiImplicitParam; | 
| import io.swagger.annotations.ApiImplicitParams; | 
| import io.swagger.annotations.ApiOperation; | 
| import lombok.extern.slf4j.Slf4j; | 
| import org.springframework.beans.factory.annotation.Autowired; | 
| import org.springframework.web.bind.annotation.*; | 
|   | 
| /** | 
|  * Created by IntelliJ IDEA. | 
|  * | 
|  * @Author : Rk | 
|  * @create 2024/7/10 18:06 | 
|  */ | 
| @Api(tags = "分类和标签相关接口") | 
| @Trace(exclude = true) | 
| @RestController | 
| @RequestMapping("/web/catalog") | 
| @Slf4j | 
| public class CatalogApi extends ApiController{ | 
|   | 
|     @Autowired | 
|     public ZbomZhongTaiService zbomZhongTaiService; | 
|   | 
|     @Autowired | 
|     public SmsEmailService smsEmailService; | 
|   | 
|     @ApiOperation(value = "C端小程序-获取首页志说装修四个模块类目数据", notes = "获取首页志说装修四个模块类目数据") | 
|     @PostMapping("/getZSZXCatalogs") | 
|     public ApiResponse<ZSZXCatalogResponse> getZSZXCatalogs() { | 
|         return  ApiResponse.success(zbomZhongTaiService.getZSZXCatalogs()); | 
|     } | 
|   | 
| } |