提交代码

yy_dev
胡锐 2 years ago
parent c75a2c4fa2
commit ce74870900
  1. 4
      cweb/src/main/java/com/cweb/controller/BsMerController.java
  2. 4
      cweb/src/main/java/com/cweb/controller/TestController.java
  3. 8
      cweb/src/main/resources/prod/config.properties
  4. 22
      cweb/src/main/resources/prod/logback.xml
  5. 8
      service/pom.xml
  6. 4
      service/src/main/resources/prod/commonConfig.properties

@ -296,8 +296,8 @@ public class BsMerController {
|| StringUtils.isBlank(merSettleAcct.getBankCardNo()) || StringUtils.isBlank(merSettleAcct.getBankCardNo())
|| StringUtils.isBlank(merSettleAcct.getBankCardHolder()) || StringUtils.isBlank(merSettleAcct.getBankCardHolder())
|| merSettleAcct.getOpenningBankAreaCode() == null || merSettleAcct.getOpenningBankAreaCode() == null
/* || merSettleAcct.getMerRateList() == null || merSettleAcct.getMerRateList() == null
|| merSettleAcct.getMerRateList().size() == 0*/ || merSettleAcct.getMerRateList().size() == 0
) { ) {
log.error("configMerBasis error!","参数错误"); log.error("configMerBasis error!","参数错误");
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, ""); throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, "");

@ -60,8 +60,8 @@ public class TestController {
public ResponseData getApplyment() { public ResponseData getApplyment() {
try { try {
HttpClientBuilder clientBuilder = new HttpClientBuilder();
return ResponseMsgUtil.success(clientBuilder.getApplyment("1668965085182")); return ResponseMsgUtil.success(LaKaLaConfig.queryCardBin("6226633602992094"));
} catch (Exception e) { } catch (Exception e) {
log.error(e.getMessage(), e); log.error(e.getMessage(), e);

@ -1,5 +1,13 @@
fileUrl=/home/project/gratia-pay/filesystem fileUrl=/home/project/gratia-pay/filesystem
cmsPath=/home/project/gratia-pay/filesystem/cmsPath cmsPath=/home/project/gratia-pay/filesystem/cmsPath
domainName=https://pay.dctpay.com
wxAppId=wxa075e8509802f826 wxAppId=wxa075e8509802f826
wxAppSecret=0e606fc1378d35e359fcf3f15570b2c5 wxAppSecret=0e606fc1378d35e359fcf3f15570b2c5
// WeChat service provider
wxUnifiedOrderUrl=https://api.mch.weixin.qq.com/pay/unifiedorder
wxMchAppId=wx637bd6f7314daa46
wxApiKey=Skufk5oi85wDFGl888i6wsRSTkdd5df5
wxMchId=1289663601

@ -69,4 +69,26 @@
<logger name="com.hfkj" level="ERROR"> <logger name="com.hfkj" level="ERROR">
<appender-ref ref="errorlog" /> <appender-ref ref="errorlog" />
</logger> </logger>
<appender name="alipaylog" class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>log/alipay/alipaylog.log</File>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>log/alipay.log.%d.%i</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 64 MB -->
<maxFileSize>64 MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
</rollingPolicy>
<encoder>
<pattern>
%d %p (%file:%line\)- %m%n
</pattern>
<charset>UTF-8</charset> <!-- 此处设置字符集 -->
</encoder>
</appender>
<logger name="com.hfkj.channel.alipay" level="INFO">
<appender-ref ref="alipaylog" />
</logger>
</configuration> </configuration>

@ -232,7 +232,6 @@
<artifactId>javase</artifactId> <artifactId>javase</artifactId>
<version>3.3.0</version> <version>3.3.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.itextpdf</groupId> <groupId>com.itextpdf</groupId>
<artifactId>kernel</artifactId> <artifactId>kernel</artifactId>
@ -248,18 +247,11 @@
<artifactId>xmlworker</artifactId> <artifactId>xmlworker</artifactId>
<version>5.5.13</version> <version>5.5.13</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.itextpdf</groupId> <groupId>com.itextpdf</groupId>
<artifactId>itext-asian</artifactId> <artifactId>itext-asian</artifactId>
<version>5.2.0</version> <version>5.2.0</version>
</dependency> </dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.1.6.Final</version>
<scope>compile</scope>
</dependency>
<dependency> <dependency>
<groupId>com.google.code.gson</groupId> <groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId> <artifactId>gson</artifactId>

@ -1,5 +1,5 @@
obs_bucket_name=xuan-pay-private obs_bucket_name=gratia-pay
obs_end_point=https://obs.cn-east-3.myhuaweicloud.com obs_end_point=https://obs.cn-southwest-2.myhuaweicloud.com
obs_url=https://gratia-pay.obs.cn-southwest-2.myhuaweicloud.com obs_url=https://gratia-pay.obs.cn-southwest-2.myhuaweicloud.com
qr_code_data_url=https://pay.dctpay.com/scanPay qr_code_data_url=https://pay.dctpay.com/scanPay

Loading…
Cancel
Save