|
@@ -8,6 +8,7 @@ import com.diagbot.dto.QuestionPageDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.entity.QuestionInfo;
|
|
|
import com.diagbot.facade.QuestionFacade;
|
|
|
+import com.diagbot.vo.DeleteQuestionVO;
|
|
|
import com.diagbot.vo.QuestionIdsVO;
|
|
|
import com.diagbot.vo.QuestionIndexVO;
|
|
|
import com.diagbot.vo.QuestionPageVO;
|
|
@@ -84,13 +85,13 @@ public class QuestionInfoController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- @ApiOperation(value = "标签删除(测试阶段,别乱删)[by:zhoutg]",
|
|
|
+ @ApiOperation(value = "标签删除[by:zhoutg]",
|
|
|
notes = "")
|
|
|
@PostMapping("/delete")
|
|
|
@SysLogger("delete")
|
|
|
@Transactional
|
|
|
- public RespDTO<Boolean> delete(String ids) {
|
|
|
- questionFacade.deleteByIdsFac(ids);
|
|
|
+ public RespDTO<Boolean> delete(@RequestBody DeleteQuestionVO deleteQuestionVO) {
|
|
|
+ questionFacade.deleteByIdsFac(deleteQuestionVO.getIds());
|
|
|
return RespDTO.onSuc(true);
|
|
|
}
|
|
|
|