pub fn fail(code: i32, msg: impl Into<Cow<'static, str>>) -> Response<()>
resputil
业务失败响应 (HTTP 200, data 为空对象); code 为业务错误码
code