| Line 14... |
Line 14... |
| 14 |
import org.springframework.beans.factory.annotation.Autowired;
|
14 |
import org.springframework.beans.factory.annotation.Autowired;
|
| 15 |
import org.springframework.http.HttpStatus;
|
15 |
import org.springframework.http.HttpStatus;
|
| 16 |
import org.springframework.http.MediaType;
|
16 |
import org.springframework.http.MediaType;
|
| 17 |
import org.springframework.http.ResponseEntity;
|
17 |
import org.springframework.http.ResponseEntity;
|
| 18 |
import org.springframework.stereotype.Controller;
|
18 |
import org.springframework.stereotype.Controller;
|
| - |
|
19 |
import org.springframework.transaction.annotation.Transactional;
|
| 19 |
import org.springframework.web.bind.annotation.RequestBody;
|
20 |
import org.springframework.web.bind.annotation.RequestBody;
|
| 20 |
import org.springframework.web.bind.annotation.RequestMapping;
|
21 |
import org.springframework.web.bind.annotation.RequestMapping;
|
| 21 |
import org.springframework.web.bind.annotation.RequestMethod;
|
22 |
import org.springframework.web.bind.annotation.RequestMethod;
|
| 22 |
import org.springframework.web.bind.annotation.RequestParam;
|
23 |
import org.springframework.web.bind.annotation.RequestParam;
|
| 23 |
|
24 |
|
| Line 54... |
Line 55... |
| 54 |
import io.swagger.annotations.ApiImplicitParam;
|
55 |
import io.swagger.annotations.ApiImplicitParam;
|
| 55 |
import io.swagger.annotations.ApiImplicitParams;
|
56 |
import io.swagger.annotations.ApiImplicitParams;
|
| 56 |
import io.swagger.annotations.ApiOperation;
|
57 |
import io.swagger.annotations.ApiOperation;
|
| 57 |
|
58 |
|
| 58 |
@Controller
|
59 |
@Controller
|
| - |
|
60 |
@Transactional
|
| 59 |
public class RechargeController {
|
61 |
public class RechargeController {
|
| 60 |
|
62 |
|
| 61 |
private static final Logger log=LoggerFactory.getLogger(RechargeController.class);
|
63 |
private static final Logger log=LoggerFactory.getLogger(RechargeController.class);
|
| 62 |
private static final String HEADER_X_FORWARDED_FOR = "X-FORWARDED-FOR";
|
64 |
private static final String HEADER_X_FORWARDED_FOR = "X-FORWARDED-FOR";
|
| 63 |
|
65 |
|