Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
cd094ea2
Commit
cd094ea2
authored
Apr 23, 2023
by
翁国栋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
8小时运营后台--
提交增员名单
parent
6b77f156
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
src/main/java/cn/timer/api/controller/insure/InsureContorll.java
+10
-1
src/main/resources/application-dev.yml
+2
-0
src/main/resources/application.yml
+1
-1
No files found.
src/main/java/cn/timer/api/controller/insure/InsureContorll.java
View file @
cd094ea2
...
@@ -114,6 +114,8 @@ public class InsureContorll {
...
@@ -114,6 +114,8 @@ public class InsureContorll {
private
String
pwd
;
private
String
pwd
;
@Value
(
"${insure.issue}"
)
@Value
(
"${insure.issue}"
)
private
String
issue
;
private
String
issue
;
@Value
(
"${insure.order_import_set}"
)
private
String
orderImportSet
;
@Autowired
@Autowired
private
OSSService
ossService
;
private
OSSService
ossService
;
...
@@ -553,7 +555,14 @@ public class InsureContorll {
...
@@ -553,7 +555,14 @@ public class InsureContorll {
InsureLog
.
builder
().
requestParam
(
JSONObject
.
toJSONString
(
setParams
(
JSONObject
.
toJSONString
(
bodyMap
),
insureApplicant
.
getAppidq
(),
insureApplicant
.
getSecretq
()))).
type
(
2
)
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
)
.
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
();
.
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
();
return
ResultUtil
.
success
(
"核保中,等待系统更新"
);
//提交核保申请
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
(
"核保中,等待系统更新"
);
}
}
}
}
InsureLog
.
builder
().
requestParam
(
JSONObject
.
toJSONString
(
setParams
(
JSONObject
.
toJSONString
(
bodyMap
),
insureApplicant
.
getAppidq
(),
insureApplicant
.
getSecretq
()))).
type
(
2
)
InsureLog
.
builder
().
requestParam
(
JSONObject
.
toJSONString
(
setParams
(
JSONObject
.
toJSONString
(
bodyMap
),
insureApplicant
.
getAppidq
(),
insureApplicant
.
getSecretq
()))).
type
(
2
)
...
...
src/main/resources/application-dev.yml
View file @
cd094ea2
...
@@ -313,6 +313,8 @@ insure:
...
@@ -313,6 +313,8 @@ insure:
batchUrl
:
'
http://sandbox.portal.unistar-ins.com/fuli/Home/WelfareProduct/batch_declare'
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'
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
BASE_API_URL
:
'
https://u495v63035.oicp.vip'
BASE_API_URL
:
'
https://u495v63035.oicp.vip'
...
...
src/main/resources/application.yml
View file @
cd094ea2
spring
:
spring
:
profiles
:
profiles
:
active
:
test
active
:
dev
#active: '@environment@'
#active: '@environment@'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment