<feat>
This commit is contained in:
parent
719035dcaf
commit
eea8812e50
@ -7,7 +7,7 @@ import com.example.demo.mapper.NewsMapper;
|
|||||||
import com.example.demo.model.News;
|
import com.example.demo.model.News;
|
||||||
import jakarta.annotation.Resource;
|
import jakarta.annotation.Resource;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
//
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/api/news")
|
@RequestMapping("/api/news")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user