Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-api
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
poc
poc-api
Commits
cf49e421
Commit
cf49e421
authored
Dec 13, 2024
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 支付配置
parent
7da339bf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
16 deletions
+8
-16
PayServiceImpl.java
...arty/resource/demand/pay/service/impl/PayServiceImpl.java
+3
-2
config.properties
src/main/resources/framemax-config/config.properties
+5
-14
No files found.
src/main/java/cn/com/poc/thirdparty/resource/demand/pay/service/impl/PayServiceImpl.java
View file @
cf49e421
...
@@ -20,6 +20,7 @@ import cn.com.poc.thirdparty.resource.demand.pay.entity.DgtoolsPayOrderEntity;
...
@@ -20,6 +20,7 @@ import cn.com.poc.thirdparty.resource.demand.pay.entity.DgtoolsPayOrderEntity;
import
cn.com.poc.thirdparty.resource.demand.pay.service.DgtoolsPayLogService
;
import
cn.com.poc.thirdparty.resource.demand.pay.service.DgtoolsPayLogService
;
import
cn.com.poc.thirdparty.resource.demand.pay.service.DgtoolsPayOrderService
;
import
cn.com.poc.thirdparty.resource.demand.pay.service.DgtoolsPayOrderService
;
import
cn.com.poc.thirdparty.resource.demand.pay.service.PayService
;
import
cn.com.poc.thirdparty.resource.demand.pay.service.PayService
;
import
cn.com.yict.framemax.core.config.Config
;
import
cn.com.yict.framemax.core.exception.BusinessException
;
import
cn.com.yict.framemax.core.exception.BusinessException
;
import
cn.com.yict.framemax.core.service.impl.BaseServiceImpl
;
import
cn.com.yict.framemax.core.service.impl.BaseServiceImpl
;
import
org.apache.http.Header
;
import
org.apache.http.Header
;
...
@@ -40,10 +41,10 @@ import java.util.List;
...
@@ -40,10 +41,10 @@ import java.util.List;
public
class
PayServiceImpl
extends
BaseServiceImpl
public
class
PayServiceImpl
extends
BaseServiceImpl
implements
PayService
{
implements
PayService
{
private
final
String
acctId
=
"16653311814572"
;
private
final
String
acctId
=
Config
.
get
(
"pay.config.acctId"
)
;
private
final
String
wxAppId
=
"wxea3470b5d2d97eca"
;
private
final
String
wxAppId
=
Config
.
get
(
"pay.config.wxAppId"
)
;
private
Logger
logger
=
LoggerFactory
.
getLogger
(
PayService
.
class
);
private
Logger
logger
=
LoggerFactory
.
getLogger
(
PayService
.
class
);
...
...
src/main/resources/framemax-config/config.properties
View file @
cf49e421
...
@@ -39,41 +39,32 @@ framemax-frame.message.enable=false
...
@@ -39,41 +39,32 @@ framemax-frame.message.enable=false
framemax-frame.message.noticeMessageHandler
=
classpath:/framemax-frame/message/noticeMessageHandler.js
framemax-frame.message.noticeMessageHandler
=
classpath:/framemax-frame/message/noticeMessageHandler.js
#\u670D\u52A1\u5B58\u653E\u56FE\u7247\u5730\u5740
#\u670D\u52A1\u5B58\u653E\u56FE\u7247\u5730\u5740
uploadPath
=
data/upload/
uploadPath
=
data/upload/
#\uFFFD\uFFFD\u0476\uFFFD\u01BD\u04FF\uFFFD
#\uFFFD\uFFFD\u0476\uFFFD\u01BD\u04FF\uFFFD
tencent.secretId
=
AKIDoT5WlIoBbu32pOisreFfuxsCIDtOegT2
tencent.secretId
=
AKIDoT5WlIoBbu32pOisreFfuxsCIDtOegT2
tencent.secretKey
=
TmskOq9GAsRoyugHguwpX2gCbryxmQt9
tencent.secretKey
=
TmskOq9GAsRoyugHguwpX2gCbryxmQt9
tencent.appId
=
1251105573
tencent.appId
=
1251105573
tencent.rtc.secretKey
=
27e9fb98399cd44046885fce38be49d6faf72f03ef12090f58ff27990862c904
tencent.rtc.secretKey
=
27e9fb98399cd44046885fce38be49d6faf72f03ef12090f58ff27990862c904
tencent.rtc.sdkAppId
=
1600021883
tencent.rtc.sdkAppId
=
1600021883
websocket.port
=
40088
websocket.port
=
40088
websocket.decoder.count.factor
=
10
websocket.decoder.count.factor
=
10
#baidu code
#baidu code
baidu.code.keyId
=
ae40d293ec92452789c8f0c25a3d4e32
baidu.code.keyId
=
ae40d293ec92452789c8f0c25a3d4e32
baidu.code.keySecret
=
3357e3507c514175ac99e20e99ccfb1e
baidu.code.keySecret
=
3357e3507c514175ac99e20e99ccfb1e
#baidu sms template \ signature
#baidu sms template \ signature
baidu.code.mainLand.signatureId
=
sms-sign-wqlTsv51668
baidu.code.mainLand.signatureId
=
sms-sign-wqlTsv51668
baidu.code.mainLand.template
=
sms-tmpl-JSlPbF49715
baidu.code.mainLand.template
=
sms-tmpl-JSlPbF49715
baidu.code.gangAo.signatureId
=
sms-sign-FcfPaR54702
baidu.code.gangAo.signatureId
=
sms-sign-FcfPaR54702
baidu.code.gangAo.template
=
sms-tmpl-thhNEu03466
baidu.code.gangAo.template
=
sms-tmpl-thhNEu03466
#tencent
#tencent
tencent.speech.synthesizer.appid
=
1251105573
tencent.speech.synthesizer.appid
=
1251105573
tencent.speech.synthesizer.secretId
=
AKIDAGE2Y1KWTGTTKZ5d5KTO5XzNdnpfOxPL
tencent.speech.synthesizer.secretId
=
AKIDAGE2Y1KWTGTTKZ5d5KTO5XzNdnpfOxPL
tencent.speech.synthesizer.secretKey
=
4yg9kIdpoptnmP9nFUaadnt32QEqEOOB
tencent.speech.synthesizer.secretKey
=
4yg9kIdpoptnmP9nFUaadnt32QEqEOOB
#email send
#email send
project.name
=
"poc-api"
project.name
=
"poc-api"
#18n
#18n
i18n.disable
=
false
i18n.disable
=
false
#job
#job
framemax-frame.job.disable
=
false
framemax-frame.job.disable
=
false
\ No newline at end of file
#pay
pay.config.acctId
=
16653311814572
pay.config.wxAppId
=
wxea3470b5d2d97eca
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