|
@ -40,7 +40,7 @@ public class SdtController { |
|
|
*/ |
|
|
*/ |
|
|
@GetMapping("getCachedAccessToken") |
|
|
@GetMapping("getCachedAccessToken") |
|
|
public Result<String> getCachedAccessToken(@RequestParam("customerId") String customerId) { |
|
|
public Result<String> getCachedAccessToken(@RequestParam("customerId") String customerId) { |
|
|
String cachedAccessToken = sdtService.getCachedAccessToken(EpmetRequestHolder.getLoginUserCustomerId()); |
|
|
String cachedAccessToken = sdtService.getCachedAccessToken(customerId); |
|
|
return new Result<String>().ok(cachedAccessToken); |
|
|
return new Result<String>().ok(cachedAccessToken); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|