|
|
@@ -6,6 +6,7 @@ import com.usoftchina.bi.core.base.TestPage;
|
|
|
import com.usoftchina.bi.core.utils.EncryUtil;
|
|
|
import com.usoftchina.bi.server.model.bo.ShareReqBO;
|
|
|
import com.usoftchina.bi.server.model.pojo.annotation.CheckToken;
|
|
|
+import com.usoftchina.bi.server.model.pojo.annotation.Log;
|
|
|
import com.usoftchina.bi.server.model.vo.configVo.ChangeOrderInfo;
|
|
|
import com.usoftchina.bi.server.model.vo.configVo.ChartsToDashInfo;
|
|
|
import com.usoftchina.bi.server.model.vo.configVo.DashboardsInfo;
|
|
|
@@ -33,8 +34,9 @@ public class DashboardsController {
|
|
|
*/
|
|
|
@ApiOperation(value = "保存看板", notes = "保存看板", response = RepEntity.class)
|
|
|
@CheckToken
|
|
|
+ @Log(module = "看板", name = "#body.bdName", token = "#token")
|
|
|
@PostMapping("/inputDashboards")
|
|
|
- public RepEntity inputDashboards(@RequestHeader String token, @RequestBody DashboardsInfo body){
|
|
|
+ public RepEntity saveDashboards(@RequestHeader String token, @RequestBody DashboardsInfo body){
|
|
|
return dashboardsService.setDashboards(token, body);
|
|
|
}
|
|
|
|
|
|
@@ -43,6 +45,7 @@ public class DashboardsController {
|
|
|
*/
|
|
|
@ApiOperation(value = "更新看板", notes = "更新看板", response = RepEntity.class)
|
|
|
@CheckToken
|
|
|
+ @Log(module = "看板", name = "#body.bdName", token = "#token")
|
|
|
@PostMapping("/updateDashboards")
|
|
|
public RepEntity updateDashboards(@RequestHeader String token,@RequestBody DashboardsInfo body){
|
|
|
return dashboardsService.updateDashboards(token, body);
|