|
@@ -14,7 +14,6 @@ import com.rongwei.bscommon.sys.utils.HwSmsUtil;
|
|
|
import com.rongwei.bscommon.sys.utils.SmsCodeGenerateUtils;
|
|
|
import com.rongwei.bsentity.domain.*;
|
|
|
import com.rongwei.bsentity.dto.RectifyApiDataDto;
|
|
|
-import com.rongwei.bsentity.dto.RectifyDto;
|
|
|
import com.rongwei.bsentity.vo.ZhcxOutsideInspectionVo;
|
|
|
import com.rongwei.bsentity.vo.ZhcxProjectRectifyMachineVo;
|
|
|
import com.rongwei.commonservice.service.RedisService;
|
|
@@ -453,8 +452,10 @@ public class ZhcxApiServiceImpl implements ZhcxApiService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public String syncUserData(String data) {
|
|
|
+ public JSONObject syncUserData(String data) {
|
|
|
Document document = null;
|
|
|
+ JSONObject json = new JSONObject();
|
|
|
+ log.info("一网通办推送用户数据:{}"+data);
|
|
|
try {
|
|
|
document = DocumentHelper.parseText(data);
|
|
|
Element root = document.getRootElement();
|
|
@@ -513,10 +514,15 @@ public class ZhcxApiServiceImpl implements ZhcxApiService {
|
|
|
sysUserService.update(sysUserDo,updateWrapper);
|
|
|
}
|
|
|
}
|
|
|
+ json.put("token","3af123b5-95d4-4828-910b-5a675bf831ca");
|
|
|
+ json.put("type","success");
|
|
|
+ json.put("message","获取成功");
|
|
|
} catch (DocumentException e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
- return "success";
|
|
|
+
|
|
|
+
|
|
|
+ return json;
|
|
|
}
|
|
|
|
|
|
private List<RectifyApiDataDto> processFirstDeptData(List<ZhcxProjectRectifyMachineVo> list, ZhcxProjectManageDo projectManageDo) {
|