|
|
|
|
@ -5,6 +5,7 @@ import com.hisense.hiatmp.server_api.service.IConfigService; |
|
|
|
|
import com.hisense.hiatmp.common.controller.HiatmpController; |
|
|
|
|
import com.hisense.hiatmp.model.common.ServerResponse; |
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestMethod; |
|
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
@ -16,8 +17,35 @@ import java.util.List; |
|
|
|
|
public class ConfigController extends HiatmpController { |
|
|
|
|
@Autowired |
|
|
|
|
private IConfigService configService; |
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/getModuleCustomConfigList", method = RequestMethod.POST) |
|
|
|
|
public ServerResponse<List<ModuleCustomConfig>> getModuleCustomConfigList() { |
|
|
|
|
return ServerResponse.ok(configService.getModuleCustomConfigList()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
基础信息预留展示接口 |
|
|
|
|
*/ |
|
|
|
|
@GetMapping("/showDangerBaseData") |
|
|
|
|
public ServerResponse<?> showBaseData(){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return ServerResponse.ok(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
统计数据预留展示接口 |
|
|
|
|
*/ |
|
|
|
|
@GetMapping("/showDangerStatisticsData") |
|
|
|
|
public ServerResponse<?> showStatisticsData(){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return ServerResponse.ok(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|