|
@@ -11,7 +11,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
-import javax.annotation.Resource;
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -27,8 +26,8 @@ public class AmazonController {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private AmzAuthorizeService authorizeService;
|
|
private AmzAuthorizeService authorizeService;
|
|
- @Resource
|
|
|
|
- private LwaClientInfoNacos lwaClientInfoNacos;
|
|
|
|
|
|
+// @Resource
|
|
|
|
+// private LwaClientInfoNacos lwaClientInfoNacos;
|
|
|
|
|
|
@GetMapping("/authcode")
|
|
@GetMapping("/authcode")
|
|
public Result<String> getSpapiOauthCode(
|
|
public Result<String> getSpapiOauthCode(
|
|
@@ -80,9 +79,9 @@ public class AmazonController {
|
|
public Result<LwaClientInfoNacos> findLwa () {
|
|
public Result<LwaClientInfoNacos> findLwa () {
|
|
Result<LwaClientInfoNacos> ss = new Result<>();
|
|
Result<LwaClientInfoNacos> ss = new Result<>();
|
|
|
|
|
|
- String jsonString = JSONObject.toJSONString(lwaClientInfoNacos);
|
|
|
|
- log.info("lwaClientInfoNacos " + jsonString);
|
|
|
|
- ss.success(lwaClientInfoNacos);
|
|
|
|
|
|
+// String jsonString = JSONObject.toJSONString(lwaClientInfoNacos);
|
|
|
|
+// log.info("lwaClientInfoNacos " + jsonString);
|
|
|
|
+// ss.success(lwaClientInfoNacos);
|
|
|
|
|
|
return ss;
|
|
return ss;
|
|
|
|
|