|
@@ -453,11 +453,9 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
JSONObject registerParams = new JSONObject();
|
|
|
registerParams.put("phoneNum", userName);
|
|
|
registerParams.put("password", password);
|
|
|
+ registerParams.put("confirmPwd", password);
|
|
|
registerParams.put("msgAuthCode", "2a22bac40f44af4d3b5fdc20ea706fc5");
|
|
|
ResultData resultData = httpClient.postJson("http://127.0.0.1:8081/ucenter/sso/user/register", null, registerParams);
|
|
|
- Object data = resultData.getData();
|
|
|
- Long id = ((JSONObject)data).getLong("id");
|
|
|
- log.info("自动注册,userId:{}", id);
|
|
|
user = userService.getByUserName(userName);
|
|
|
}
|
|
|
log.info("场景归属账号id为:userId:{}", user.getId());
|