Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -242,6 +242,7 @@ public class PayController {
|
|||||||
){
|
){
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return payService.returnOrder(list,token,pwd, isOnline);
|
return payService.returnOrder(list,token,pwd, isOnline);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -273,6 +273,12 @@ public class DataService {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
JSONObject config = JSONObject.parseObject(it.getConfig());
|
||||||
|
String model = config.getString("model");
|
||||||
|
if(!"normal".equals(model)){
|
||||||
|
log.error("打印机类型错误");
|
||||||
|
return;
|
||||||
|
}
|
||||||
List<HandoverInfo.PayInfo> list = null;
|
List<HandoverInfo.PayInfo> list = null;
|
||||||
List<HandoverInfo.MemberData> memberData = null;
|
List<HandoverInfo.MemberData> memberData = null;
|
||||||
List<HandoverInfo.ProductCategory> productCategories = null;
|
List<HandoverInfo.ProductCategory> productCategories = null;
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ spring:
|
|||||||
application:
|
application:
|
||||||
name: cashierService
|
name: cashierService
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://101.37.12.135:3306/fycashier?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useJDBCCompliantTimezoneShift=true&serverTimezone=Asia/Shanghai&useSSL=false&allowMultiQueries=true
|
url: jdbc:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/fycashier_test?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useJDBCCompliantTimezoneShift=true&serverTimezone=Asia/Shanghai&useSSL=false&allowMultiQueries=true
|
||||||
username: fycashier
|
username: cashier
|
||||||
password: Twc6MrzzjBiWSsjh
|
password: Cashier@1@
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
initialSize: 5
|
initialSize: 5
|
||||||
minIdle: 5
|
minIdle: 5
|
||||||
|
|||||||
@@ -1,10 +1,13 @@
|
|||||||
|
server:
|
||||||
|
port: 10589
|
||||||
spring:
|
spring:
|
||||||
application:
|
application:
|
||||||
name: cashierService
|
name: cashierService
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://121.40.128.145:3306/fycashier?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useJDBCCompliantTimezoneShift=true&serverTimezone=Asia/Shanghai&useSSL=false
|
# 内网地址
|
||||||
username: root
|
url: jdbc:mysql://rm-bp1kn7h89nz62cno1.mysql.rds.aliyuncs.com:3306/fycashier_pre?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useJDBCCompliantTimezoneShift=true&serverTimezone=Asia/Shanghai&useSSL=false&allowMultiQueries=true
|
||||||
password: mysqlroot@123
|
username: cashier
|
||||||
|
password: Cashier@1@
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
initialSize: 5
|
initialSize: 5
|
||||||
minIdle: 5
|
minIdle: 5
|
||||||
@@ -12,12 +15,12 @@ spring:
|
|||||||
maxWait: 60000
|
maxWait: 60000
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
com.chaozhanggui.system.openness: debug
|
com.chaozhanggui.system.openness: info
|
||||||
redis:
|
redis:
|
||||||
# redis数据库索引(默认为0),我们使用索引为3的数据库,避免和其他数据库冲突
|
# redis数据库索引(默认为0),我们使用索引为3的数据库,避免和其他数据库冲突
|
||||||
database: 2
|
database: 0
|
||||||
# redis服务器地址(默认为localhost)
|
# redis服务器地址(默认为localhost)
|
||||||
host: 101.37.12.135
|
host: localhost
|
||||||
# redis端口(默认为6379)
|
# redis端口(默认为6379)
|
||||||
port: 6379
|
port: 6379
|
||||||
# redis访问密码(默认为空)
|
# redis访问密码(默认为空)
|
||||||
@@ -35,7 +38,7 @@ spring:
|
|||||||
main:
|
main:
|
||||||
allow-circular-references: true
|
allow-circular-references: true
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
host: 127.0.0.1
|
host: localhost
|
||||||
port: 5672
|
port: 5672
|
||||||
username: admin
|
username: admin
|
||||||
password: Czg666888
|
password: Czg666888
|
||||||
@@ -45,12 +48,14 @@ pagehelper:
|
|||||||
reasonable: true
|
reasonable: true
|
||||||
helperDialect: mysql
|
helperDialect: mysql
|
||||||
params: count=countSql
|
params: count=countSql
|
||||||
|
|
||||||
mybatis:
|
mybatis:
|
||||||
configuration:
|
configuration:
|
||||||
map-underscore-to-camel-case: true
|
map-underscore-to-camel-case: true
|
||||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||||
mapper-locations: classpath:mapper/*.xml
|
mapper-locations: classpath:mapper/*.xml
|
||||||
|
subscribe:
|
||||||
|
message:
|
||||||
|
miniprogramState: trial
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user