public async Task <IActionResult> GetZb() { var data = await _adsService.GetAllZB(); return(Ok(new ResultMessage <OutZB> { Data = data, ErrorCode = data == null ? 4 : 0, ErrorMsg = (data) == null ? "提示:获取指标数据失败,请联系管理员!" : "" })); }