|
@@ -2,6 +2,7 @@ package com.usoftchina.bi.server.service.dashboard;
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.usoftchina.bi.core.utils.EncryUtil;
|
|
import com.usoftchina.bi.core.utils.EncryUtil;
|
|
|
|
|
+import com.usoftchina.bi.server.aspect.JwtTokenAspect;
|
|
|
import com.usoftchina.bi.server.dao.chart.ChartsConfigMapper;
|
|
import com.usoftchina.bi.server.dao.chart.ChartsConfigMapper;
|
|
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
|
import com.usoftchina.bi.server.model.bo.Screen;
|
|
import com.usoftchina.bi.server.model.bo.Screen;
|
|
@@ -57,6 +58,8 @@ public class DashboardsToChartsUtilService {
|
|
|
token = userService.login(loginInfo).getData().getToken();
|
|
token = userService.login(loginInfo).getData().getToken();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ JwtTokenAspect.setBaseContextHolder(token);
|
|
|
|
|
+
|
|
|
int chartId = chartsToDashInfo.getChartId();
|
|
int chartId = chartsToDashInfo.getChartId();
|
|
|
|
|
|
|
|
//拿到图表配置
|
|
//拿到图表配置
|