| 12345678910111213141516171819 |
- package com.goafanti.admin.controller;
- import javax.annotation.Resource;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- import com.goafanti.common.controller.BaseApiController;
- import com.goafanti.news.service.NewsService;
- /**
- * 新闻
- */
- @RestController
- @RequestMapping(value = "/api/admin/news")
- public class AdminNewsApiController extends BaseApiController{
- @Resource
- private NewsService newsService;
- }
|