Commit 4e86aaf4 authored by Quxl's avatar Quxl

修改Rjx默认属性status和code并存

Change-Id: I939476fc6c3c04339957c20c02b2428a41cd20d1
parent e0befba7
...@@ -131,6 +131,15 @@ public class Rjx extends LinkedHashMap<String, Object> { ...@@ -131,6 +131,15 @@ public class Rjx extends LinkedHashMap<String, Object> {
return (Integer)this.get("code"); return (Integer)this.get("code");
} }
public Rjx setStatus(Integer status) {
put("status", status);
return this;
}
public int getStatus() {
return (Integer)this.get("status");
}
public Rjx appendNtag(int ntag) { public Rjx appendNtag(int ntag) {
Integer i = (Integer)this.get("ntag"); Integer i = (Integer)this.get("ntag");
if(i == null) { if(i == null) {
......
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