This commit is contained in:
z 2025-04-29 23:16:49 +08:00
parent 719035dcaf
commit eea8812e50

View File

@ -7,7 +7,7 @@ import com.example.demo.mapper.NewsMapper;
import com.example.demo.model.News;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
//
@RestController
@RequestMapping("/api/news")