|
@@ -17,10 +17,7 @@ import com.slibra.common.utils.StringUtils;
|
|
|
import com.slibra.common.utils.uuid.IdUtils;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.PathVariable;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
@@ -219,7 +216,7 @@ public class FrontController extends BaseController {
|
|
|
* 删除问答记录(单条)
|
|
|
* @return
|
|
|
*/
|
|
|
- @GetMapping("/bigModel/chat/deleteOneChtById/{id}")
|
|
|
+ @DeleteMapping("/bigModel/chat/deleteOneChtById/{id}")
|
|
|
public AjaxResult deleteOneChtById(@PathVariable Long id)
|
|
|
{
|
|
|
log.info("进入了 删除问答记录(单条) 接口");
|