wangxianzhang 3 years ago
parent
commit
2da93e0a91
  1. 2
      epmet-module/epmet-third/epmet-third-server/src/main/java/com/epmet/controller/SdtController.java

2
epmet-module/epmet-third/epmet-third-server/src/main/java/com/epmet/controller/SdtController.java

@ -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);
} }

Loading…
Cancel
Save