|
@ -4,27 +4,23 @@ package com.yihu.jw.care.service.device;
|
|
import com.alibaba.fastjson.JSON;
|
|
import com.alibaba.fastjson.JSON;
|
|
import com.alibaba.fastjson.serializer.SerializerFeature;
|
|
import com.alibaba.fastjson.serializer.SerializerFeature;
|
|
import com.yihu.jw.care.config.AqgConfig;
|
|
import com.yihu.jw.care.config.AqgConfig;
|
|
import com.yihu.jw.care.dao.device.BaseSleepPlanDao;
|
|
|
|
import com.yihu.jw.care.dao.device.DeviceDao;
|
|
|
|
import com.yihu.jw.care.dao.device.DeviceDetailDao;
|
|
|
|
import com.yihu.jw.care.dao.device.PatientDeviceDao;
|
|
|
|
|
|
import com.yihu.jw.care.dao.device.*;
|
|
import com.yihu.jw.care.service.assistance.EmergencyAssistanceService;
|
|
import com.yihu.jw.care.service.assistance.EmergencyAssistanceService;
|
|
import com.yihu.jw.care.service.contacts.ContactsService;
|
|
import com.yihu.jw.care.service.contacts.ContactsService;
|
|
import com.yihu.jw.care.service.security.SecurityMonitoringOrderService;
|
|
import com.yihu.jw.care.service.security.SecurityMonitoringOrderService;
|
|
import com.yihu.jw.care.service.wechat.WeiXinAccessTokenUtils;
|
|
import com.yihu.jw.care.service.wechat.WeiXinAccessTokenUtils;
|
|
import com.yihu.jw.care.util.ConcealUtil;
|
|
import com.yihu.jw.care.util.ConcealUtil;
|
|
|
|
import com.yihu.jw.care.util.CountDistance;
|
|
import com.yihu.jw.care.util.MyJdbcTemplate;
|
|
import com.yihu.jw.care.util.MyJdbcTemplate;
|
|
import com.yihu.jw.doctor.dao.BaseDoctorDao;
|
|
import com.yihu.jw.doctor.dao.BaseDoctorDao;
|
|
import com.yihu.jw.entity.base.doctor.BaseDoctorDO;
|
|
import com.yihu.jw.entity.base.doctor.BaseDoctorDO;
|
|
import com.yihu.jw.entity.base.patient.BasePatientDO;
|
|
import com.yihu.jw.entity.base.patient.BasePatientDO;
|
|
import com.yihu.jw.entity.care.device.BaseSleepPlan;
|
|
|
|
import com.yihu.jw.entity.care.device.Device;
|
|
|
|
import com.yihu.jw.entity.care.device.DeviceDetail;
|
|
|
|
import com.yihu.jw.entity.care.device.DevicePatientDevice;
|
|
|
|
|
|
import com.yihu.jw.entity.care.device.*;
|
|
import com.yihu.jw.patient.dao.BasePatientDao;
|
|
import com.yihu.jw.patient.dao.BasePatientDao;
|
|
import com.yihu.jw.restmodel.ResponseContant;
|
|
import com.yihu.jw.restmodel.ResponseContant;
|
|
import com.yihu.jw.util.common.GpsUtil;
|
|
import com.yihu.jw.util.common.GpsUtil;
|
|
import com.yihu.jw.util.common.IdCardUtil;
|
|
import com.yihu.jw.util.common.IdCardUtil;
|
|
|
|
import com.yihu.jw.util.common.LatitudeUtils;
|
|
import com.yihu.jw.util.date.DateUtil;
|
|
import com.yihu.jw.util.date.DateUtil;
|
|
import com.yihu.jw.util.entity.ServiceException;
|
|
import com.yihu.jw.util.entity.ServiceException;
|
|
import com.yihu.jw.util.healthIndex.HealthIndexUtil;
|
|
import com.yihu.jw.util.healthIndex.HealthIndexUtil;
|
|
@ -115,6 +111,10 @@ public class PatientDeviceService extends BaseJpaService<DevicePatientDevice, Pa
|
|
private EmergencyAssistanceService emergencyAssistanceService;
|
|
private EmergencyAssistanceService emergencyAssistanceService;
|
|
@Autowired
|
|
@Autowired
|
|
private SecurityMonitoringOrderService securityMonitoringOrderService;
|
|
private SecurityMonitoringOrderService securityMonitoringOrderService;
|
|
|
|
@Autowired
|
|
|
|
private CountDistance countDistance;
|
|
|
|
@Autowired
|
|
|
|
private PatientSafeAreaDao safeAreaDao;
|
|
|
|
|
|
@PostConstruct
|
|
@PostConstruct
|
|
public void init() {
|
|
public void init() {
|
|
@ -388,7 +388,7 @@ public class PatientDeviceService extends BaseJpaService<DevicePatientDevice, Pa
|
|
return page;
|
|
return page;
|
|
}
|
|
}
|
|
|
|
|
|
public List<Map<String , Object>> findDeviceFromAdmin(String patientName, int page, int pageSize) {
|
|
|
|
|
|
public List<Map<String , Object>> findDeviceFromAdmin(String doctor,String patientName, int page, int pageSize) {
|
|
String sql = "select Distinct p.id,p.`name`,dd.photo,pd.device_id deviceId,pd.category_code categoryCode,pd.device_name deviceName, " +
|
|
String sql = "select Distinct p.id,p.`name`,dd.photo,pd.device_id deviceId,pd.category_code categoryCode,pd.device_name deviceName, " +
|
|
" pd.device_sn deviceSn,pd.czrq,pd.doctor,pd.doctor_name doctorName,pd.agent,pd.agent_name agentName " +
|
|
" pd.device_sn deviceSn,pd.czrq,pd.doctor,pd.doctor_name doctorName,pd.agent,pd.agent_name agentName " +
|
|
" from wlyy_patient_device pd,wlyy_devices wd,base_patient p,dm_device dd where p.id = pd.`user` and pd.del = 0 " +
|
|
" from wlyy_patient_device pd,wlyy_devices wd,base_patient p,dm_device dd where p.id = pd.`user` and pd.del = 0 " +
|
|
@ -396,6 +396,12 @@ public class PatientDeviceService extends BaseJpaService<DevicePatientDevice, Pa
|
|
if (StringUtils.isNotBlank(patientName)){
|
|
if (StringUtils.isNotBlank(patientName)){
|
|
sql += " AND (p.`name` LIKE '%" + patientName +"%' or p.idcard LIKE '%" + patientName + "%') ";
|
|
sql += " AND (p.`name` LIKE '%" + patientName +"%' or p.idcard LIKE '%" + patientName + "%') ";
|
|
}
|
|
}
|
|
|
|
if (StringUtils.isNotBlank(doctor)){//著老远查看时之查看签约居民的绑定
|
|
|
|
sql += " and EXISTS (SELECT sr.patient from base_service_package_sign_record sr,base_service_package_record r,base_team_member m " +
|
|
|
|
" WHERE sr.patient = p.id and sr.status=1 and m.team_code = r.team_code and sr.id=r.sign_id " +
|
|
|
|
" and m.doctor_code = '"+doctor+"' and m.del = '1') ";
|
|
|
|
}
|
|
|
|
|
|
sql += " ORDER BY pd.czrq DESC LIMIT "+ (page-1)*pageSize +" , " + pageSize + " ";
|
|
sql += " ORDER BY pd.czrq DESC LIMIT "+ (page-1)*pageSize +" , " + pageSize + " ";
|
|
List<Map<String , Object>> list = jdbcTemplate.queryForList(sql);
|
|
List<Map<String , Object>> list = jdbcTemplate.queryForList(sql);
|
|
return list;
|
|
return list;
|
|
@ -936,7 +942,7 @@ public class PatientDeviceService extends BaseJpaService<DevicePatientDevice, Pa
|
|
devInfo.put("orgCode", "");
|
|
devInfo.put("orgCode", "");
|
|
}
|
|
}
|
|
|
|
|
|
if ("4".equals(device.getCategoryCode()) || "7".equals(device.getCategoryCode())) {
|
|
|
|
|
|
if ("4".equals(device.getCategoryCode()) || "7".equals(device.getCategoryCode())|| "16".equals(device.getCategoryCode())) {
|
|
devInfo.put("sosContactsDOS", contactsService.getPatientSosContacts(patient));
|
|
devInfo.put("sosContactsDOS", contactsService.getPatientSosContacts(patient));
|
|
}
|
|
}
|
|
com.alibaba.fastjson.JSONObject devInfoObj = JSON.parseObject(JSON.toJSONString(devInfo, SerializerFeature.WriteMapNullValue));
|
|
com.alibaba.fastjson.JSONObject devInfoObj = JSON.parseObject(JSON.toJSONString(devInfo, SerializerFeature.WriteMapNullValue));
|
|
@ -965,7 +971,7 @@ public class PatientDeviceService extends BaseJpaService<DevicePatientDevice, Pa
|
|
if (StringUtils.isBlank(day)) {
|
|
if (StringUtils.isBlank(day)) {
|
|
day = DateUtil.getStringDateShort();
|
|
day = DateUtil.getStringDateShort();
|
|
}
|
|
}
|
|
devInfoObj = securityMonitoringOrderService.patientSignTopicInfo(devInfoObj, patient, "preventLost");
|
|
|
|
|
|
devInfoObj = securityMonitoringOrderService.patientSignTopicInfo(devInfoObj, patient, "preventLost",deviceSn);
|
|
//轨迹动态
|
|
//轨迹动态
|
|
JSONArray locations = getX1Locations(deviceSn, day.replace("-", ""));
|
|
JSONArray locations = getX1Locations(deviceSn, day.replace("-", ""));
|
|
devInfoObj.put("routes", locations);
|
|
devInfoObj.put("routes", locations);
|
|
@ -998,10 +1004,63 @@ public class PatientDeviceService extends BaseJpaService<DevicePatientDevice, Pa
|
|
devInfoObj.put("day", DateUtil.getStringDateShort());
|
|
devInfoObj.put("day", DateUtil.getStringDateShort());
|
|
break;
|
|
break;
|
|
case "16":
|
|
case "16":
|
|
|
|
if (StringUtils.isBlank(day)) {
|
|
|
|
day = DateUtil.getStringDateShort();
|
|
|
|
}
|
|
// 电子围栏
|
|
// 电子围栏
|
|
devInfoObj.put("safeAreaGz", securityMonitoringOrderService.getElectronicFence(deviceSn));
|
|
|
|
|
|
devInfoObj.put("safeAreaGz", securityMonitoringOrderService.getElectronicFence(device.getUser()));
|
|
// 行动轨迹
|
|
// 行动轨迹
|
|
devInfoObj.put("actionTrack", securityMonitoringOrderService.getActionTrack(deviceSn));
|
|
|
|
|
|
devInfoObj.put("actionTrack", securityMonitoringOrderService.getActionTrack(deviceSn,day));
|
|
|
|
//当前定位
|
|
|
|
List<Map<String , Object>> newList = securityMonitoringOrderService.getNewList(deviceSn,day);
|
|
|
|
String lat = "";
|
|
|
|
String lon = "";
|
|
|
|
if (newList.size() > 0) {
|
|
|
|
lat = (String) newList.get(0).get("lat");
|
|
|
|
lon = (String) newList.get(0).get("lon");
|
|
|
|
devInfoObj.put("currentPositioning", LatitudeUtils.getLocationAddress(lat,lon)); //当前定位
|
|
|
|
} else { //当前地址为null,则获取居民坐标
|
|
|
|
newList = securityMonitoringOrderService.getPatientLatLon(deviceSn);
|
|
|
|
String safeArea = (String) newList.get(0).get("lat_lon");
|
|
|
|
String[] safeAreas = safeArea.split(";");
|
|
|
|
com.alibaba.fastjson.JSONArray fenceLocation = new com.alibaba.fastjson.JSONArray();
|
|
|
|
for (String area:safeAreas){
|
|
|
|
String[] areaPoint = area.split(",");
|
|
|
|
lat = areaPoint[0];
|
|
|
|
lon = areaPoint[1];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
devInfoObj.put("currentPositioning",LatitudeUtils.getLocationAddress(lat,lon)); //当前定位
|
|
|
|
devInfoObj.put("currentLat",lat); //当前定位
|
|
|
|
devInfoObj.put("currentLon",lon); //当前定位
|
|
|
|
double dulat =Double.parseDouble(lat);
|
|
|
|
double dulon = Double.parseDouble(lon);
|
|
|
|
List<PatientSafeAreaDO> safeAreaDOS = safeAreaDao.findByPatient(device.getUser());
|
|
|
|
String safeArea=null;
|
|
|
|
if (safeAreaDOS.size()>0){
|
|
|
|
safeArea = safeAreaDOS.get(0).getSafeAreaGz();
|
|
|
|
}
|
|
|
|
String[] safeAreas = safeArea.split(";");
|
|
|
|
com.alibaba.fastjson.JSONArray fenceLocation = new com.alibaba.fastjson.JSONArray();
|
|
|
|
for (String area:safeAreas){
|
|
|
|
String[] areaPoint = area.split(",");
|
|
|
|
com.alibaba.fastjson.JSONObject positionTmp = new com.alibaba.fastjson.JSONObject();
|
|
|
|
Double areaLon = Double.parseDouble( areaPoint[0]);
|
|
|
|
Double areaLat = Double.parseDouble( areaPoint[1]);
|
|
|
|
// com.alibaba.fastjson.JSONObject positionTmp = gpsUtil.gcj02_To_Bd09(lat,lon);
|
|
|
|
positionTmp.put("lat",areaLat);
|
|
|
|
positionTmp.put("lon",areaLon);
|
|
|
|
fenceLocation.add(positionTmp);
|
|
|
|
}
|
|
|
|
if (!countDistance.isInPolygon(dulon,dulat,fenceLocation)){
|
|
|
|
// orderUtil.createSecurityOrder(sn,null,null,8,"1","yslkaqqy",null);
|
|
|
|
devInfoObj.put("isTrueFalse","已超出围栏范围");
|
|
|
|
devInfoObj.put("isNotAlarm","已报警");
|
|
|
|
} else {
|
|
|
|
devInfoObj.put("isTrueFalse","未超出围栏范围");
|
|
|
|
devInfoObj.put("isNotAlarm","未报警");
|
|
|
|
}
|
|
|
|
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
// }
|
|
// }
|
|
@ -1071,8 +1130,8 @@ public class PatientDeviceService extends BaseJpaService<DevicePatientDevice, Pa
|
|
else if (type == 2){
|
|
else if (type == 2){
|
|
JSONArray re = new JSONArray();
|
|
JSONArray re = new JSONArray();
|
|
// 排序
|
|
// 排序
|
|
String countSql =" select count(distinct user,value1,value2,value3,value4,value5,value6,value7,type,record_date,sort_date ) from wlyy_patient_health_index a where a.user = '"+patient+"' " +
|
|
|
|
" and a.type=2 and a.device_sn='"+deviceSn+"' and a.del = '1' ";
|
|
|
|
|
|
String countSql =" select SUM(total) from ( select count(id ) total from wlyy_patient_health_index a where a.user = '"+patient+"' " +
|
|
|
|
" and a.type=2 and a.device_sn='"+deviceSn+"' and a.del = '1' GROUP BY user,value1,value2,value3,value4,value5,value6,value7,type,record_date,sort_date )A ";
|
|
count = jdbcTemplate.queryForObject(countSql,Long.class);
|
|
count = jdbcTemplate.queryForObject(countSql,Long.class);
|
|
String sql = "SELECT " +
|
|
String sql = "SELECT " +
|
|
"MIN(id) id" +
|
|
"MIN(id) id" +
|
|
@ -1136,7 +1195,7 @@ public class PatientDeviceService extends BaseJpaService<DevicePatientDevice, Pa
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
re.put(json);
|
|
|
|
|
|
re.put(json);
|
|
}
|
|
}
|
|
result.put("dataList",re);
|
|
result.put("dataList",re);
|
|
}
|
|
}
|
|
@ -1172,10 +1231,13 @@ public class PatientDeviceService extends BaseJpaService<DevicePatientDevice, Pa
|
|
long count = jdbcTemplate.queryForObject(sqlCount,long.class);
|
|
long count = jdbcTemplate.queryForObject(sqlCount,long.class);
|
|
|
|
|
|
List<Map<String,Object>> list = jdbcTemplate.queryForList(sql);
|
|
List<Map<String,Object>> list = jdbcTemplate.queryForList(sql);
|
|
|
|
String str = JSON.toJSONString(list,SerializerFeature.WriteMapNullValue);
|
|
|
|
com.alibaba.fastjson.JSONArray arr = com.alibaba.fastjson.JSONArray.parseArray(str);
|
|
|
|
|
|
result.put("total",count);
|
|
result.put("total",count);
|
|
result.put("page",page+1);
|
|
result.put("page",page+1);
|
|
result.put("pageSize",pageSize);
|
|
result.put("pageSize",pageSize);
|
|
result.put("dataList",list);
|
|
|
|
|
|
result.put("dataList", arr);
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|
|
@ -1296,54 +1358,89 @@ public class PatientDeviceService extends BaseJpaService<DevicePatientDevice, Pa
|
|
* @return
|
|
* @return
|
|
* @throws Exception
|
|
* @throws Exception
|
|
*/
|
|
*/
|
|
public com.alibaba.fastjson.JSONObject updateDeviceFenceArea(String deviceSn,Integer fenceNO,String enable,String name,String freq,
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
|
public String updateDeviceFenceArea(String patient,String deviceSn,Integer fenceNO,String enable,String name,String freq,
|
|
String time_begin,String time_end,String safe_area ,String clear) throws Exception{
|
|
String time_begin,String time_end,String safe_area ,String clear) throws Exception{
|
|
List<DevicePatientDevice> devices = patientDeviceDao.findByDeviceSn(deviceSn);
|
|
|
|
String url ="";
|
|
|
|
|
|
|
|
if ("16".equals(devices.get(0).getCategoryCode())) {
|
|
|
|
DevicePatientDevice patientDevice = devices.get(0);
|
|
|
|
if (StringUtils.isNotBlank(safe_area)){
|
|
|
|
patientDevice.setSafeAreaGz(safe_area);
|
|
|
|
patientDeviceDao.save(patientDevice);
|
|
|
|
com.alibaba.fastjson.JSONObject object = new com.alibaba.fastjson.JSONObject();
|
|
|
|
object.put("success",true);
|
|
|
|
return object;
|
|
|
|
|
|
if(StringUtils.isBlank(patient)){
|
|
|
|
List<DevicePatientDevice> devices = patientDeviceDao.findByDeviceSn(deviceSn);
|
|
|
|
if (devices.size()>0){
|
|
|
|
DevicePatientDevice deviceTmp = devices.get(0);
|
|
|
|
if ("4".equals(deviceTmp.getCategoryCode())||"16".equals(deviceTmp.getCategoryCode())){
|
|
|
|
patient = deviceTmp.getUser();
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
if ("4".equals(devices.get(0).getCategoryCode())){//手表
|
|
|
|
Device device = deviceDao.findOne(devices.get(0).getDeviceId());
|
|
|
|
if (device!=null){
|
|
|
|
if ("X1".equals(device.getModel())){
|
|
|
|
url = MessageFormat.format(AqgConfig.X1fence_area, deviceSn,fenceNO);
|
|
|
|
}
|
|
|
|
|
|
List<DevicePatientDevice> devices = patientDeviceDao.findAllByUserAndCategoryCode(patient,"4");
|
|
|
|
PatientSafeAreaDO safeAreaDO = new PatientSafeAreaDO();
|
|
|
|
if (StringUtils.isNotBlank(patient)){
|
|
|
|
List<PatientSafeAreaDO> safeAreaDOS = safeAreaDao.findByPatient(patient);
|
|
|
|
// 1删除 空修改或删除
|
|
|
|
if (safeAreaDOS.size()>0){
|
|
|
|
safeAreaDO = safeAreaDOS.get(0);
|
|
|
|
}else {
|
|
|
|
safeAreaDO.setPatient(patient);
|
|
|
|
safeAreaDO.setCreateTime(new Date());
|
|
|
|
safeAreaDO.setUpdateTime(new Date());
|
|
|
|
safeAreaDO.setSuccessFlag(-1);
|
|
|
|
}
|
|
|
|
if (StringUtils.isNotBlank(clear)) {//删除
|
|
|
|
safeAreaDao.deleteByPatient(patient);
|
|
|
|
}
|
|
|
|
else{//新增或修改
|
|
|
|
safeAreaDO.setSafeAreaGz(safe_area);
|
|
|
|
safeAreaDO.setUpdateTime(new Date());
|
|
|
|
safeAreaDO.setSuccessFlag(-1);
|
|
}
|
|
}
|
|
}else {
|
|
|
|
url = MessageFormat.format(AqgConfig.S3fence_area, deviceSn,fenceNO);
|
|
|
|
}
|
|
}
|
|
MultiValueMap<String, String> param = new LinkedMultiValueMap<>();
|
|
|
|
if(StringUtils.isBlank(clear)){
|
|
|
|
if (StringUtils.isNotBlank(safe_area)){
|
|
|
|
String[] position = safe_area.split(";");
|
|
|
|
safe_area = "";
|
|
|
|
for (String tmp:position){
|
|
|
|
String[] point = tmp.split(",");
|
|
|
|
safe_area+= gpsUtil.bd09_To_Gcj02_str(Double.parseDouble(point[1]),Double.parseDouble(point[0]))+";";
|
|
|
|
|
|
if (devices.size()>0){
|
|
|
|
DevicePatientDevice patientDevice = devices.get(0);
|
|
|
|
String deviceSnTmp = patientDevice.getDeviceSn();
|
|
|
|
String url ="";
|
|
|
|
if ("4".equals(devices.get(0).getCategoryCode())){//手表
|
|
|
|
Device device = deviceDao.findOne(devices.get(0).getDeviceId());
|
|
|
|
if (device!=null){
|
|
|
|
if ("X1".equals(device.getModel())){
|
|
|
|
url = MessageFormat.format(AqgConfig.X1fence_area, deviceSnTmp,fenceNO);
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
}else {
|
|
|
|
url = MessageFormat.format(AqgConfig.S3fence_area, deviceSnTmp,fenceNO);
|
|
|
|
}
|
|
|
|
MultiValueMap<String, String> param = new LinkedMultiValueMap<>();
|
|
|
|
if(StringUtils.isBlank(clear)){
|
|
|
|
if (StringUtils.isNotBlank(safe_area)){
|
|
|
|
String[] position = safe_area.split(";");
|
|
|
|
safe_area = "";
|
|
|
|
for (String tmp:position){
|
|
|
|
String[] point = tmp.split(",");
|
|
|
|
safe_area+= gpsUtil.bd09_To_Gcj02_str(Double.parseDouble(point[1]),Double.parseDouble(point[0]))+";";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
param.add("name", name);
|
|
|
|
param.add("freq", freq);
|
|
|
|
param.add("enable",enable);
|
|
|
|
param.add("time_begin", time_begin);
|
|
|
|
param.add("time_end", time_end);
|
|
|
|
param.add("safe_area", safe_area);
|
|
|
|
|
|
|
|
}else {
|
|
|
|
param.add("clear",clear);
|
|
|
|
}
|
|
|
|
HttpEntity<com.alibaba.fastjson.JSONObject> response = httpClientUtil.aqgCookieHttp(url, param, HttpMethod.POST, getCookie());
|
|
|
|
com.alibaba.fastjson.JSONObject responseObj = response.getBody();
|
|
|
|
if (responseObj.getBoolean("success")){
|
|
|
|
safeAreaDO.setSuccessFlag(1);
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
throw new Exception("安全区域设置失败!");
|
|
|
|
}
|
|
|
|
if (StringUtils.isBlank(clear)&&StringUtils.isNotBlank(patient)){
|
|
|
|
safeAreaDao.save(safeAreaDO);
|
|
}
|
|
}
|
|
param.add("name", name);
|
|
|
|
param.add("freq", freq);
|
|
|
|
param.add("enable",enable);
|
|
|
|
param.add("time_begin", time_begin);
|
|
|
|
param.add("time_end", time_end);
|
|
|
|
param.add("safe_area", safe_area);
|
|
|
|
|
|
|
|
}else {
|
|
|
|
param.add("clear",clear);
|
|
|
|
}
|
|
}
|
|
HttpEntity<com.alibaba.fastjson.JSONObject> response = httpClientUtil.aqgCookieHttp(url, param, HttpMethod.POST, getCookie());
|
|
|
|
return response.getBody();
|
|
|
|
|
|
return "success";
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|