| | |
| | | package com.fgkj.controller; |
| | | |
| | | import com.fgkj.util.*; |
| | | |
| | | import com.fgkj.dto.ServiceModel; |
| | | import com.fgkj.dto.User; |
| | | import com.fgkj.services.UserService; |
| | | import com.opensymphony.xwork2.ActionSupport; |
| | | import io.swagger.annotations.Api; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | @RequestMapping("user") |
| | | @RestController |
| | | @Api |
| | | public class UserController { |
| | | |
| | | @Autowired |
| | | @Resource |
| | | UserService service; |
| | | |
| | | @PostMapping("/") |