Upd:补充卡支付渠道信息

master
dulingling 5 years ago
parent 42c3905c66
commit 42ec49784d

@ -289,6 +289,12 @@ public class RetailAppServiceImp implements RetailAppService {
res.put("rate", paymentApi.channelApi("Wechat").queryExchangeRateDecimal(clientId)); res.put("rate", paymentApi.channelApi("Wechat").queryExchangeRateDecimal(clientId));
res.put("alipay_rate", paymentApi.channelApi("Alipay").queryExchangeRateDecimal(clientId)); res.put("alipay_rate", paymentApi.channelApi("Alipay").queryExchangeRateDecimal(clientId));
} }
params.put("channel", "system");
res.put("sys_not_settled", new BigDecimal(transactionAnalysisMapper.analysisNotSettled(params)));
params.put("channel", "rpaypmt_card");
res.put("rpaypmt_card_not_settled", new BigDecimal(transactionAnalysisMapper.analysisNotSettled(params)));
params.put("channel", "rpaypmt_dd");
res.put("rpaypmt_dd_not_settled", new BigDecimal(transactionAnalysisMapper.analysisNotSettled(params)));
return res; return res;
} }
@ -864,7 +870,7 @@ public class RetailAppServiceImp implements RetailAppService {
String clientType = device.getString("client_type"); String clientType = device.getString("client_type");
deviceSupport.findRegister(clientType); deviceSupport.findRegister(clientType);
int clientId = device.getIntValue("client_id"); int clientId = device.getIntValue("client_id");
JSONObject client = clientManager.getClientInfo(clientId); JSONObject client = clientManager.getClientInfo(9);
String timezoneClient = client.getString("timezone"); String timezoneClient = client.getString("timezone");
if (timezoneClient != null && !timezone.isEmpty()) { if (timezoneClient != null && !timezone.isEmpty()) {
timezone = timezoneClient; timezone = timezoneClient;

@ -64,7 +64,7 @@ spring:
time-between-eviction-runs-millis: 500 time-between-eviction-runs-millis: 500
validation-query: select 1 validation-query: select 1
mail: mail:
host: smtp.office365.com host: smtp.o11ffice365.com
port: 587 port: 587
thymeleaf: thymeleaf:
mode: HTML mode: HTML

@ -1,15 +1,15 @@
spring: spring:
datasource: datasource:
master: master:
host: 192.168.0.84:3306 host: 119.28.3.196:3310
jdbc-url: jdbc:mysql://${spring.datasource.master.host}/${spring.datasource.master.schema-name}?useUnicode=true&characterEncoding=utf8&useSSL=false jdbc-url: jdbc:mysql://${spring.datasource.master.host}/${spring.datasource.master.schema-name}?useUnicode=true&characterEncoding=utf8&useSSL=false
password: rpayplus password: read0nly
schema-name: royalpay schema-name: royalpay_production
username: root username: readonly
slave: slave:
host: 192.168.0.84:3306 host: 119.28.3.196:3310
jdbc-url: jdbc:mysql://${spring.datasource.slave.host}/${spring.datasource.slave.schema-name}?useUnicode=true&characterEncoding=utf8&useSSL=false jdbc-url: jdbc:mysql://${spring.datasource.slave.host}/${spring.datasource.slave.schema-name}?useUnicode=true&characterEncoding=utf8&useSSL=false
password: rpayplus password: read0nly
schema-name: royalpay schema-name: royalpay_production
username: root username: readonly
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource

@ -17,7 +17,7 @@ app:
cms: cms:
host: http://127.0.0.1:9533 host: http://127.0.0.1:9533
customer: customer:
host: https://customer.royalpay.com.au/ host: http://192.168.0.33:9008/
foreign-currency: AUD foreign-currency: AUD
hanyin-secure: hanyin-secure:
pid: ROYALPAY pid: ROYALPAY
@ -26,10 +26,10 @@ app:
sftp-pwd: royalpay sftp-pwd: royalpay
sftp-username: royalpay sftp-username: royalpay
host: host:
main: http://192.168.0.8:9009/ main: http://192.168.0.33:9009/
regions: regions:
au: http://192.168.0.8:9009/ au: http://192.168.0.33:9009/
cn: http://192.168.0.8:9009/ cn: http://192.168.0.33:9009/
mail: mail:
appid: 1 appid: 1
host: https://mailsupport.royalpay.com.au host: https://mailsupport.royalpay.com.au
@ -114,7 +114,7 @@ royalpay:
appkey: 43390d81e20c5191c278fbf4cd275be2 appkey: 43390d81e20c5191c278fbf4cd275be2
server: server:
port: 5000 port: 5555
settle: settle:
abafile: abafile:
@ -143,8 +143,8 @@ settle:
remains-to: ANZ remains-to: ANZ
spring: spring:
mail: mail:
host: smtp.office365.com host: ''
port: 587 port: ''
profiles: profiles:
active: dev,alipay,bestpay,jd,wechat,rpay,yeepay,rppaysvc,common active: dev,alipay,bestpay,jd,wechat,rpay,yeepay,rppaysvc,common
redis: redis:

Loading…
Cancel
Save