|
|
@@ -4,6 +4,7 @@ import com.tuoheng.service.ThirdService; |
|
|
|
import com.tuoheng.until.JsonResult; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.CrossOrigin; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
@@ -20,6 +21,7 @@ import javax.servlet.http.HttpServletResponse; |
|
|
|
@RestController |
|
|
|
@RequestMapping("/third") |
|
|
|
@Slf4j |
|
|
|
@CrossOrigin(origins = "*") |
|
|
|
public class ThirdController { |
|
|
|
|
|
|
|
@Autowired |