添加大数据存储用户同步

beetlsql3-dev
whb 9 months ago
parent d088c46cf7
commit 731d5613f6

@ -33,7 +33,8 @@ public enum SubsystemName {
SECURITIES("证券/期货/基金/信托/资管公司"),
SECURITIES_TRADING("证券交易"),
CSRC("证监会、银保监会、行业协会"),
RISK_MANAGEMENT("风险管理");
RISK_MANAGEMENT("风险管理"),
BIG_DATA_STORAGE("大数据存储");

@ -341,7 +341,7 @@ public class ApiStudentService {
public StudentActiveInfo studentActiveInfo() {
Student student = getStudent();
Assert.notNull(student, "该接口只能学生查看!");
return studentDao.studentActiveInfo(student.getStudentId(), null);
return studentDao.studentActiveInfo(student.getStudentId(), student.getUserId());
}
public StudentUserCenterData userCenter() {

@ -13,6 +13,10 @@ public class SubsystemUserUtil {
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";
private static final String QKL_USER_INSERT_API_URL="http://120.79.54.255:8800/account/checkOrCreateForexSimulationUser";
private static final String JRDSJ_USER_INSERT_API_URL="http://120.78.220.29:8838/account/checkOrCreateForexSimulationUser";
public static void subsystemUserCreate(List<ZYUserInfo> zyUserInfos, List<String> applications) throws JsonProcessingException {
@ -35,6 +39,10 @@ public class SubsystemUserUtil {
//MNJY系统新增用户信息
HttpUtil.sendPostRequest(QKL_USER_INSERT_API_URL, json, "application/json");
}
if (applications.contains(SubsystemName.BIG_DATA_STORAGE.getText())) {
//MNJY系统新增用户信息
HttpUtil.sendPostRequest(JRDSJ_USER_INSERT_API_URL, json, "application/json");
}
}

Loading…
Cancel
Save