You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.4 KiB
44 lines
1.4 KiB
//package com.teaching.backend.controller.thumb; |
|
// |
|
//import com.teaching.backend.common.BaseResponse; |
|
//import com.teaching.backend.common.ErrorCode; |
|
//import com.teaching.backend.exception.BusinessException; |
|
//import com.teaching.backend.model.dto.thumb.knowthumb.KnowThumbAddRequest; |
|
//import com.teaching.backend.service.thumb.SeKnowThumbService; |
|
//import lombok.extern.slf4j.Slf4j; |
|
//import org.apache.commons.lang3.StringUtils; |
|
//import org.springframework.web.bind.annotation.PostMapping; |
|
//import org.springframework.web.bind.annotation.RequestBody; |
|
//import org.springframework.web.bind.annotation.RequestMapping; |
|
//import org.springframework.web.bind.annotation.RestController; |
|
// |
|
//import javax.annotation.ResourceMysql; |
|
// |
|
///** |
|
// * @Author:youhang |
|
// * @Date:2024-05-30-20:22 |
|
// * @Description: |
|
// */ |
|
//@RestController |
|
//@RequestMapping("/api/know_thumb") |
|
//@Slf4j |
|
//public class SeKnowThumbController { |
|
// |
|
// @ResourceMysql |
|
// private SeKnowThumbService seKnowThumbService; |
|
// |
|
// |
|
// /** |
|
// * 点赞 |
|
// * |
|
// * @param knowThumbAddRequest |
|
// * @return result 执行情况 |
|
// */ |
|
// @PostMapping("/add") |
|
// // 加上 HttpServletRequest request 在一个fitter里面进行鉴权操作 |
|
// public BaseResponse<Boolean> doThumb(@RequestBody KnowThumbAddRequest knowThumbAddRequest) { |
|
// return seKnowThumbService.doKnowThumb(knowThumbAddRequest.getKnowId(), knowThumbAddRequest.getUserId()); |
|
// |
|
// } |
|
// |
|
//}
|
|
|