|
@@ -17,6 +17,8 @@ import com.sooka.system.mapper.TUPeoplemarryinfodoubleMapper;
|
|
|
import com.sooka.system.domain.TUPeoplemarryinfodouble;
|
|
|
import com.sooka.system.service.ITUPeoplemarryinfodoubleService;
|
|
|
|
|
|
+import javax.annotation.Resource;
|
|
|
+
|
|
|
/**
|
|
|
* 国家民政部-婚姻信息(双方)-数据查询接口Service业务层处理
|
|
|
*
|
|
@@ -26,7 +28,7 @@ import com.sooka.system.service.ITUPeoplemarryinfodoubleService;
|
|
|
@Service
|
|
|
public class TUPeoplemarryinfodoubleServiceImpl implements ITUPeoplemarryinfodoubleService
|
|
|
{
|
|
|
- @Autowired
|
|
|
+ @Resource
|
|
|
private TUPeoplemarryinfodoubleMapper tUPeoplemarryinfodoubleMapper;
|
|
|
|
|
|
/**
|
|
@@ -55,12 +57,17 @@ public class TUPeoplemarryinfodoubleServiceImpl implements ITUPeoplemarryinfodou
|
|
|
map.put("secretKey", tUPeoplemarryinfodouble.getSecretKey());
|
|
|
map.put("intCode", "00003");
|
|
|
map.put("Content-Type", "application/json");
|
|
|
- String params = "{\"certNumberMan\":\""+tUPeoplemarryinfodouble.getCertnumberman()+"\",\"nameMan\":\""+tUPeoplemarryinfodouble.getNameman()+"\",\"certNumberWoman\":\""+tUPeoplemarryinfodouble.getCertnumberwoman()+"\",\"nameWoman\":\""+tUPeoplemarryinfodouble.getNamewoman()+"\"}";
|
|
|
+// String params = "{\"certNumberMan\":\""+tUPeoplemarryinfodouble.getCertnumberman()+"\",\"nameMan\":\""+tUPeoplemarryinfodouble.getNameman()+"\",\"certNumberWoman\":\""+tUPeoplemarryinfodouble.getCertnumberwoman()+"\",\"nameWoman\":\""+tUPeoplemarryinfodouble.getNamewoman()+"\"}";
|
|
|
+ String params = "{\"certNumMan\":\""+tUPeoplemarryinfodouble.getCertnumberman()+"\",\"nameMan\":\""+tUPeoplemarryinfodouble.getNameman()+"\",\"certNumWoman\":\""+tUPeoplemarryinfodouble.getCertnumberwoman()+"\",\"nameWoman\":\""+tUPeoplemarryinfodouble.getNamewoman()+"\"}";
|
|
|
// String params ="certNumberMan="+tUPeoplemarryinfosingle.getCertnumberman()+"&nameMan="+tUPeoplemarryinfosingle.getNameman();
|
|
|
+ map.put("Authorization-Type", "Basic");
|
|
|
+ map.put("Authorization", "Basic NjBlODQxNzQyZTIyMDE2NjUzYmQ3NmE4N2QxY2FjMzA6ODhlOWM0NzcxMWZkMTM5YjhiMGMyODlkZjBiMWI5YmQ=");
|
|
|
+ map.put("Service-ID", "qNpU77");
|
|
|
List ls = new ArrayList();
|
|
|
try {
|
|
|
TUPeoplemarryinfodouble bean = new TUPeoplemarryinfodouble();
|
|
|
- String result = HttpUtil2.doPost("http://localhost:88/api/test/peoplemarryInfodouble", params,map);
|
|
|
+// String result = HttpUtil2.doPost("http://localhost:88/api/test/peoplemarryInfodouble", params,map);
|
|
|
+ String result = HttpUtil2.doPost("http://172.24.5.241:6689/mz/queryMutualVerification", params,map);
|
|
|
System.out.println(result);
|
|
|
|
|
|
if(result != null){
|