| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | |
| | | return aiProductQuestionLabelService.update(dto); |
| | | } |
| | | |
| | | @GetMapping("listAll") |
| | | @ControllerEndpoint(operation = "获取所有标签", exceptionMessage = "获取标签失败") |
| | | public FebsResponse listAll() { |
| | | String companyId = getCurrentUserCompanyId(); |
| | | List<AiProductQuestionLabel> labels = aiProductQuestionLabelService.listAllByCompanyId(companyId); |
| | | return new FebsResponse().success().data(labels); |
| | | } |
| | | } |