| Line 11... |
Line 11... |
| 11 |
|
11 |
|
| 12 |
import org.apache.commons.codec.binary.Base64;
|
12 |
import org.apache.commons.codec.binary.Base64;
|
| 13 |
import org.apache.commons.lang.StringUtils;
|
13 |
import org.apache.commons.lang.StringUtils;
|
| 14 |
import org.slf4j.Logger;
|
14 |
import org.slf4j.Logger;
|
| 15 |
import org.slf4j.LoggerFactory;
|
15 |
import org.slf4j.LoggerFactory;
|
| 16 |
import org.slf4j.helpers.MessageFormatter;
|
- |
|
| 17 |
import org.springframework.beans.factory.annotation.Autowired;
|
16 |
import org.springframework.beans.factory.annotation.Autowired;
|
| 18 |
import org.springframework.http.MediaType;
|
17 |
import org.springframework.http.MediaType;
|
| 19 |
import org.springframework.http.ResponseEntity;
|
18 |
import org.springframework.http.ResponseEntity;
|
| 20 |
import org.springframework.stereotype.Controller;
|
19 |
import org.springframework.stereotype.Controller;
|
| - |
|
20 |
import org.springframework.transaction.annotation.Transactional;
|
| 21 |
import org.springframework.web.bind.annotation.PathVariable;
|
21 |
import org.springframework.web.bind.annotation.PathVariable;
|
| 22 |
import org.springframework.web.bind.annotation.RequestMapping;
|
22 |
import org.springframework.web.bind.annotation.RequestMapping;
|
| 23 |
import org.springframework.web.bind.annotation.RequestMethod;
|
23 |
import org.springframework.web.bind.annotation.RequestMethod;
|
| 24 |
import org.springframework.web.bind.annotation.RequestParam;
|
24 |
import org.springframework.web.bind.annotation.RequestParam;
|
| 25 |
|
25 |
|
| Line 33... |
Line 33... |
| 33 |
import io.swagger.annotations.ApiImplicitParam;
|
33 |
import io.swagger.annotations.ApiImplicitParam;
|
| 34 |
import io.swagger.annotations.ApiImplicitParams;
|
34 |
import io.swagger.annotations.ApiImplicitParams;
|
| 35 |
import io.swagger.annotations.ApiOperation;
|
35 |
import io.swagger.annotations.ApiOperation;
|
| 36 |
|
36 |
|
| 37 |
@Controller
|
37 |
@Controller
|
| - |
|
38 |
@Transactional(rollbackFor = Throwable.class)
|
| 38 |
public class ClicksController {
|
39 |
public class ClicksController {
|
| 39 |
|
40 |
|
| 40 |
@SuppressWarnings("serial")
|
41 |
@SuppressWarnings("serial")
|
| 41 |
public static final Map<String, String> FK_MAP = Collections.unmodifiableMap(new HashMap<String, String>() {
|
42 |
public static final Map<String, String> FK_MAP = Collections.unmodifiableMap(new HashMap<String, String>() {
|
| 42 |
{
|
43 |
{
|