Commit 2778b066 authored by 何金镒's avatar 何金镒

获取token,更新token

parent ad360b72
......@@ -93,6 +93,7 @@ public class CDCController {
if(StrUtil.isBlank(token.getAccessToken())){
cdc_token = cdcHttpUtils.getCDCToken(ccuId, ownerId);
token.setAccessToken(cdc_token);
token.setCreateTime(LocalDateTime.now());
tokenService.updateById(token);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment