添加数字经济同步用户数据

beetlsql3-dev
whb 11 months ago
parent 6cda6499be
commit fecee2ef0d

@ -11,6 +11,7 @@ import java.util.List;
public class SubsystemUserUtil {
private static final String PEVC_USER_INSERT_API_URL="http://120.79.161.177:8029/account/saveNewUsersFromZhiyunPlatform";
private static final String MNJY_USER_INSERT_API_URL="http://120.79.161.177:8091/account/saveNewUsersFromZhiyunPlatform";
private static final String SZJJ_USER_INSERT_API_URL="http://112.74.160.81:9909/api/user/synchronizationStudentInfoByAuto";
public static void subsystemUserCreate(List<ZYUserInfo> zyUserInfos, List<String> applications) throws JsonProcessingException {
@ -25,6 +26,10 @@ public class SubsystemUserUtil {
//MNJY系统新增用户信息
HttpUtil.sendPostRequest(MNJY_USER_INSERT_API_URL, json, "application/json");
}
if (applications.contains(SubsystemName.CSRC.getText())) {
//MNJY系统新增用户信息
HttpUtil.sendPostRequest(SZJJ_USER_INSERT_API_URL, json, "application/json");
}
}
}

Loading…
Cancel
Save