| Line 5... |
Line 5... |
| 5 |
import org.slf4j.Logger;
|
5 |
import org.slf4j.Logger;
|
| 6 |
import org.slf4j.LoggerFactory;
|
6 |
import org.slf4j.LoggerFactory;
|
| 7 |
import org.springframework.beans.factory.annotation.Autowired;
|
7 |
import org.springframework.beans.factory.annotation.Autowired;
|
| 8 |
import org.springframework.http.ResponseEntity;
|
8 |
import org.springframework.http.ResponseEntity;
|
| 9 |
import org.springframework.stereotype.Controller;
|
9 |
import org.springframework.stereotype.Controller;
|
| - |
|
10 |
import org.springframework.transaction.annotation.Transactional;
|
| 10 |
import org.springframework.web.bind.annotation.RequestMapping;
|
11 |
import org.springframework.web.bind.annotation.RequestMapping;
|
| 11 |
import org.springframework.web.bind.annotation.RequestMethod;
|
12 |
import org.springframework.web.bind.annotation.RequestMethod;
|
| 12 |
import org.springframework.web.bind.annotation.RequestParam;
|
13 |
import org.springframework.web.bind.annotation.RequestParam;
|
| 13 |
|
14 |
|
| 14 |
import com.spice.profitmandi.common.ResponseCodeHolder;
|
15 |
import com.spice.profitmandi.common.ResponseCodeHolder;
|
| Line 17... |
Line 18... |
| 17 |
import com.spice.profitmandi.dao.entity.Api;
|
18 |
import com.spice.profitmandi.dao.entity.Api;
|
| 18 |
import com.spice.profitmandi.dao.repository.ApiRepository;
|
19 |
import com.spice.profitmandi.dao.repository.ApiRepository;
|
| 19 |
import com.spice.profitmandi.web.util.ResponseSender;
|
20 |
import com.spice.profitmandi.web.util.ResponseSender;
|
| 20 |
|
21 |
|
| 21 |
@Controller
|
22 |
@Controller
|
| - |
|
23 |
@Transactional
|
| 22 |
public class ApiController {
|
24 |
public class ApiController {
|
| 23 |
|
25 |
|
| 24 |
@Autowired
|
26 |
@Autowired
|
| 25 |
ResponseSender<?> responseSender;
|
27 |
ResponseSender<?> responseSender;
|
| 26 |
|
28 |
|