Commit c83e9d19 by pye52

修复proxy在传递failed时没有正确赋值code的问题

parent e24d43c1
......@@ -20,6 +20,7 @@ class Result<T> {
}
fun failed(msg: String, data: T? = null) {
this.code = -1
this.msg = msg
this.data = data
}
......
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 sign in to comment