Commit cd094ea2 by 翁国栋

8小时运营后台--

提交增员名单
parent 6b77f156
......@@ -114,6 +114,8 @@ public class InsureContorll {
private String pwd;
@Value("${insure.issue}")
private String issue;
@Value("${insure.order_import_set}")
private String orderImportSet;
@Autowired
private OSSService ossService;
......@@ -553,6 +555,13 @@ public class InsureContorll {
InsureLog.builder().requestParam(JSONObject.toJSONString(setParams(JSONObject.toJSONString(bodyMap), insureApplicant.getAppidq(), insureApplicant.getSecretq()))).type(2)
.requestData(JSONObject.toJSONString(bodyMap)).createTime(new Date()).requestType(1).returnBody(responData).requestPath(batchUrl)
.returnCode(dataMap.get("errcode").toString()).userType(insureDto.getMethod()).userName(insureDto.getOperatorName()).companyName(insureDto.getOperatorCompanyName()).returnMsg(dataMap.get("errmsg").toString()).policyId(insurePolicy.getId()).fileUrl(url).build().insert();
//提交核保申请
String importUuid=data.get("import_uuid").toString();
Map rbodyMap = Maps.newHashMap();
rbodyMap.put("set_status", "1");
rbodyMap.put("import_uuid", importUuid);
String importData = HttpUtils.sendPost(orderImportSet, setParams(JSONObject.toJSONString(rbodyMap), insureApplicant.getAppidq(), insureApplicant.getSecretq()), rbodyMap);
Map<String, Object> rdataMap = JSONObject.parseObject(responData);
return ResultUtil.success("核保中,等待系统更新");
}
}
......
......@@ -313,6 +313,8 @@ insure:
batchUrl: 'http://sandbox.portal.unistar-ins.com/fuli/Home/WelfareProduct/batch_declare'
#保全取消支付
cancelPayment: 'http://sandbox.portal.unistar-ins.com/fuli/Home/OrderImport/order_import_set'
#预付款提交接口
order_import_set: 'http://sandbox.portal.unistar-ins.com/cps/Labor/OrderImport/order_import_set'
# base_api_url
BASE_API_URL: 'https://u495v63035.oicp.vip'
......
spring:
profiles:
active: test
active: dev
#active: '@environment@'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment