Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
c988330f
Commit
c988330f
authored
Jan 22, 2025
by
chenyuxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 发微信消息提取域名配置
parent
19f6b83a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
2 deletions
+6
-2
WxConfig.java
...a/com/yifu/cloud/plus/v1/yifu/salary/config/WxConfig.java
+2
-0
TInsuranceUnpurchaseApplyAuditProcess.java
...e/impl/process/TInsuranceUnpurchaseApplyAuditProcess.java
+1
-1
application-dev.yml
...ry/yifu-salary-biz/src/main/resources/application-dev.yml
+1
-1
application-prd.yml
...ry/yifu-salary-biz/src/main/resources/application-prd.yml
+1
-0
application-test.yml
...y/yifu-salary-biz/src/main/resources/application-test.yml
+1
-0
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/config/WxConfig.java
View file @
c988330f
...
@@ -43,6 +43,8 @@ public class WxConfig {
...
@@ -43,6 +43,8 @@ public class WxConfig {
private
String
agentid
;
private
String
agentid
;
@Value
(
"${wx.authUrl}"
)
@Value
(
"${wx.authUrl}"
)
private
String
authUrl
;
private
String
authUrl
;
@Value
(
"${wx.domainName}"
)
private
String
domainName
;
@Autowired
@Autowired
private
RedisTemplate
redisTemplate
;
private
RedisTemplate
redisTemplate
;
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/process/TInsuranceUnpurchaseApplyAuditProcess.java
View file @
c988330f
...
@@ -227,7 +227,7 @@ public class TInsuranceUnpurchaseApplyAuditProcess extends AbastractAuditProcess
...
@@ -227,7 +227,7 @@ public class TInsuranceUnpurchaseApplyAuditProcess extends AbastractAuditProcess
String
authUrl
=
null
;
String
authUrl
=
null
;
Map
<
String
,
Object
>
textcard
=
new
HashMap
<>();
Map
<
String
,
Object
>
textcard
=
new
HashMap
<>();
authUrl
=
String
.
format
(
SecurityConstants
.
WX_GET_MESSAGE_AUTH_URL
,
wxConfig
.
getCorpid
(),
"https://test-wx.worfu.com
/auth/oauth/wxLogin"
,
"01"
+
insuranceUnpurchaseApply
.
getId
());
authUrl
=
String
.
format
(
SecurityConstants
.
WX_GET_MESSAGE_AUTH_URL
,
wxConfig
.
getCorpid
(),
wxConfig
.
getDomainName
()+
"
/auth/oauth/wxLogin"
,
"01"
+
insuranceUnpurchaseApply
.
getId
());
textcard
.
put
(
"title"
,
"含风险项目不购买商险申请"
);
textcard
.
put
(
"title"
,
"含风险项目不购买商险申请"
);
textcard
.
put
(
"url"
,
authUrl
);
textcard
.
put
(
"url"
,
authUrl
);
...
...
yifu-salary/yifu-salary-biz/src/main/resources/application-dev.yml
View file @
c988330f
...
@@ -20,5 +20,5 @@ wx:
...
@@ -20,5 +20,5 @@ wx:
corpsecret
:
16kqEL_eU-ARwYyqLgEBWHgxm8gXVnkzv_eJMLy9NpU
corpsecret
:
16kqEL_eU-ARwYyqLgEBWHgxm8gXVnkzv_eJMLy9NpU
agentid
:
1000010
agentid
:
1000010
authUrl
:
https://test-wx.worfu.com/yifu-auth/method/oauth/wxLogin
authUrl
:
https://test-wx.worfu.com/yifu-auth/method/oauth/wxLogin
domainName
:
https://test-wx.worfu.com
yifu-salary/yifu-salary-biz/src/main/resources/application-prd.yml
View file @
c988330f
...
@@ -32,5 +32,6 @@ wx:
...
@@ -32,5 +32,6 @@ wx:
corpsecret
:
R0nKkvsY-oF41fuQvUXZ-kFG3_g_Ce0bpZt6mByx524
corpsecret
:
R0nKkvsY-oF41fuQvUXZ-kFG3_g_Ce0bpZt6mByx524
agentid
:
1000009
agentid
:
1000009
authUrl
:
https://wx.worfu.com/yifu-auth/method/oauth/wxLogin
authUrl
:
https://wx.worfu.com/yifu-auth/method/oauth/wxLogin
domainName
:
https://wx.worfu.com
yifu-salary/yifu-salary-biz/src/main/resources/application-test.yml
View file @
c988330f
...
@@ -32,3 +32,4 @@ wx:
...
@@ -32,3 +32,4 @@ wx:
corpsecret
:
16kqEL_eU-ARwYyqLgEBWHgxm8gXVnkzv_eJMLy9NpU
corpsecret
:
16kqEL_eU-ARwYyqLgEBWHgxm8gXVnkzv_eJMLy9NpU
agentid
:
1000010
agentid
:
1000010
authUrl
:
https://test-wx.worfu.com/yifu-auth/method/oauth/wxLogin
authUrl
:
https://test-wx.worfu.com/yifu-auth/method/oauth/wxLogin
domainName
:
https://test-wx.worfu.com
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