修改人员脚本
This commit is contained in:
parent
465ede3d79
commit
dfd77dc842
|
@ -42,10 +42,12 @@ public class GroovyIntegrationServiceImpl implements IGroovyIntegrationService {
|
|||
com.alibaba.fastjson.JSONObject data = reqData.getJSONObject("data");
|
||||
com.alibaba.fastjson.JSONObject returnObject = new com.alibaba.fastjson.JSONObject();
|
||||
com.alibaba.fastjson.JSONObject bodys = new com.alibaba.fastjson.JSONObject();
|
||||
bodys.put("userName", data.get("mobile"));
|
||||
bodys.put("gender", data.get("sex"));
|
||||
bodys.put("userTrueName", data.get("name"));
|
||||
bodys.put("userPwd", "123456");
|
||||
bodys.put("userName", data.get("login_name"));
|
||||
if(data.get("gender") != null){
|
||||
bodys.put("gender", data.get("gender"));
|
||||
}
|
||||
bodys.put("userTrueName", data.get("user_name"));
|
||||
bodys.put("userPwd", "Hzya@1314");
|
||||
bodys.put("mobile", data.get("mobile"));
|
||||
returnObject.put("bodys",bodys.toJSONString());
|
||||
return returnObject.toJSONString();
|
||||
|
|
Loading…
Reference in New Issue