Commit 14cc089e by 284718418@qq.com

修改返回状态码

parent be8bc544
......@@ -159,10 +159,10 @@ public class FkController {
return ResultUtil.error("删除失败,请确认考勤机绑定状态");
}
if (result == false)
return ResultUtil.data("删除失败");
return ResultUtil.error("删除失败");
return ResultUtil.data("删除成功");
} else
return ResultUtil.data("删除失败,请联系管理员");
return ResultUtil.error("删除失败,请联系管理员");
}
// 获取考勤机live信息
......
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