| | |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | |
| | | // @Autowired |
| | | // private EncryptionDecryptionUtil encryptionDecryptionUtil; |
| | | |
| | | |
| | | @ApiOperation(value = "用户登录", tags = "管理后台-用户登录") |
| | | @PostMapping("/base/v1/login") |
| | | public R<?> login(@RequestBody LoginBody form, HttpServletRequest request) { |