diff --git a/ebike-payment/src/main/java/com/cdzy/payment/model/dto/ResProcessedRefundDto.java b/ebike-payment/src/main/java/com/cdzy/payment/model/dto/ResProcessedRefundDto.java index 06929b34..5c44aa7a 100644 --- a/ebike-payment/src/main/java/com/cdzy/payment/model/dto/ResProcessedRefundDto.java +++ b/ebike-payment/src/main/java/com/cdzy/payment/model/dto/ResProcessedRefundDto.java @@ -74,7 +74,7 @@ public class ResProcessedRefundDto { /** * 退款方式 */ - private LocalDateTime refundMethod; + private String refundMethod; /** * 支付方式 @@ -109,7 +109,8 @@ public class ResProcessedRefundDto { /** * 骑行设备编号 */ - private String ebikeCode;; + private String ebikeCode; + ; /** * 骑行开始时间 diff --git a/ebike-payment/src/main/resources/application-dev.yml b/ebike-payment/src/main/resources/application-dev.yml index 5531b6d4..beff77d8 100644 --- a/ebike-payment/src/main/resources/application-dev.yml +++ b/ebike-payment/src/main/resources/application-dev.yml @@ -48,4 +48,19 @@ task-scheduler-pool: poolSize: 100 threadNamePrefix: task-scheduled- waitForTasksToCompleteOnShutdown: true - awaitTerminationSeconds: 30 \ No newline at end of file + awaitTerminationSeconds: 30 +sa-token: + # token 名称(同时也是 cookie 名称) + token-name: Authorization + # token 有效期(单位:秒) 默认30天,-1 代表永久有效 + timeout: 2592000 + # token 最低活跃频率(单位:秒),如果 token 超过此时间没有访问系统就会被冻结,默认-1 代表不限制,永不冻结 + active-timeout: -1 + # 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录) + is-concurrent: true + # 在多人登录同一账号时,是否共用一个 token (为 true 时所有登录共用一个 token, 为 false 时每次登录新建一个 token) + is-share: true + # token 风格(默认可取值:uuid、simple-uuid、random-32、random-64、random-128、tik) + token-style: random-32 + # 是否输出操作日志 + is-log: true \ No newline at end of file