Commit cf49e421 authored by alex yao's avatar alex yao

feat: 支付配置

parent 7da339bf
......@@ -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.DgtoolsPayOrderService;
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.service.impl.BaseServiceImpl;
import org.apache.http.Header;
......@@ -40,10 +41,10 @@ import java.util.List;
public class PayServiceImpl extends BaseServiceImpl
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);
......
......@@ -39,41 +39,32 @@ framemax-frame.message.enable=false
framemax-frame.message.noticeMessageHandler=classpath:/framemax-frame/message/noticeMessageHandler.js
#\u670D\u52A1\u5B58\u653E\u56FE\u7247\u5730\u5740
uploadPath=data/upload/
#\uFFFD\uFFFD\u0476\uFFFD\u01BD\u04FF\uFFFD
tencent.secretId=AKIDoT5WlIoBbu32pOisreFfuxsCIDtOegT2
tencent.secretKey=TmskOq9GAsRoyugHguwpX2gCbryxmQt9
tencent.appId=1251105573
tencent.rtc.secretKey=27e9fb98399cd44046885fce38be49d6faf72f03ef12090f58ff27990862c904
tencent.rtc.sdkAppId=1600021883
websocket.port=40088
websocket.decoder.count.factor=10
#baidu code
baidu.code.keyId=ae40d293ec92452789c8f0c25a3d4e32
baidu.code.keySecret=3357e3507c514175ac99e20e99ccfb1e
#baidu sms template \ signature
baidu.code.mainLand.signatureId=sms-sign-wqlTsv51668
baidu.code.mainLand.template=sms-tmpl-JSlPbF49715
baidu.code.gangAo.signatureId=sms-sign-FcfPaR54702
baidu.code.gangAo.template=sms-tmpl-thhNEu03466
#tencent
tencent.speech.synthesizer.appid=1251105573
tencent.speech.synthesizer.secretId=AKIDAGE2Y1KWTGTTKZ5d5KTO5XzNdnpfOxPL
tencent.speech.synthesizer.secretKey=4yg9kIdpoptnmP9nFUaadnt32QEqEOOB
#email send
project.name="poc-api"
#18n
i18n.disable = false
i18n.disable=false
#job
framemax-frame.job.disable = false
\ No newline at end of file
framemax-frame.job.disable=false
#pay
pay.config.acctId=16653311814572
pay.config.wxAppId=wxea3470b5d2d97eca
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