| 123456789101112131415161718192021222324252627 |
- package com.goafanti.user.controller;
- import com.goafanti.common.bo.Result;
- import com.goafanti.common.model.UserFollow;
- import com.goafanti.user.bo.InputUserFollowList;
- import com.goafanti.user.bo.InputUserServiceFollow;
- import com.goafanti.user.service.UserFollowService;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RequestMethod;
- import org.springframework.web.bind.annotation.RestController;
- @RestController
- @RequestMapping(value = "/api/admin/follow")
- public class UserFollowController {
- @Autowired
- private UserFollowService userFollowService;
- @RequestMapping(value = "/userFollowList", method = RequestMethod.GET)
- public Result userFollowList(InputUserFollowList in){
- Result res =new Result();
- res.data(userFollowService.userFollowList(in));
- return res;
- }
- }
|