| Line 10... |
Line 10... |
| 10 |
import org.slf4j.Logger;
|
10 |
import org.slf4j.Logger;
|
| 11 |
import org.slf4j.LoggerFactory;
|
11 |
import org.slf4j.LoggerFactory;
|
| 12 |
import org.springframework.beans.factory.annotation.Autowired;
|
12 |
import org.springframework.beans.factory.annotation.Autowired;
|
| 13 |
import org.springframework.http.ResponseEntity;
|
13 |
import org.springframework.http.ResponseEntity;
|
| 14 |
import org.springframework.stereotype.Controller;
|
14 |
import org.springframework.stereotype.Controller;
|
| - |
|
15 |
import org.springframework.transaction.annotation.Transactional;
|
| 15 |
import org.springframework.web.bind.annotation.RequestAttribute;
|
16 |
import org.springframework.web.bind.annotation.RequestAttribute;
|
| 16 |
import org.springframework.web.bind.annotation.RequestBody;
|
17 |
import org.springframework.web.bind.annotation.RequestBody;
|
| 17 |
import org.springframework.web.bind.annotation.RequestMapping;
|
18 |
import org.springframework.web.bind.annotation.RequestMapping;
|
| 18 |
import org.springframework.web.bind.annotation.RequestMethod;
|
19 |
import org.springframework.web.bind.annotation.RequestMethod;
|
| 19 |
|
20 |
|
| Line 28... |
Line 29... |
| 28 |
import in.shop2020.utils.Agent;
|
29 |
import in.shop2020.utils.Agent;
|
| 29 |
import io.swagger.annotations.ApiImplicitParam;
|
30 |
import io.swagger.annotations.ApiImplicitParam;
|
| 30 |
import io.swagger.annotations.ApiImplicitParams;
|
31 |
import io.swagger.annotations.ApiImplicitParams;
|
| 31 |
|
32 |
|
| 32 |
@Controller
|
33 |
@Controller
|
| - |
|
34 |
@Transactional(rollbackFor = Throwable.class)
|
| 33 |
public class AuthController {
|
35 |
public class AuthController {
|
| 34 |
|
36 |
|
| 35 |
private static final Logger LOGGER = LoggerFactory.getLogger(AuthController.class);
|
37 |
private static final Logger LOGGER = LoggerFactory.getLogger(AuthController.class);
|
| 36 |
|
38 |
|
| 37 |
|
39 |
|