AdminNewsApiController.java 510 B

12345678910111213141516171819
  1. package com.goafanti.admin.controller;
  2. import javax.annotation.Resource;
  3. import org.springframework.web.bind.annotation.RequestMapping;
  4. import org.springframework.web.bind.annotation.RestController;
  5. import com.goafanti.common.controller.BaseApiController;
  6. import com.goafanti.news.service.NewsService;
  7. /**
  8. * 新闻
  9. */
  10. @RestController
  11. @RequestMapping(value = "/api/admin/news")
  12. public class AdminNewsApiController extends BaseApiController{
  13. @Resource
  14. private NewsService newsService;
  15. }