dev-discount
袁野 3 years ago
parent 32e79ef93b
commit 777aa4e54e
  1. 1
      hai-cweb/src/main/java/com/cweb/config/AuthConfig.java
  2. 2
      hai-cweb/src/main/resources/pre/application.yml
  3. 1
      hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java

@ -120,6 +120,7 @@ public class AuthConfig implements WebMvcConfigurer {
.excludePathPatterns("/czOrder/orderRefundNotify") .excludePathPatterns("/czOrder/orderRefundNotify")
.excludePathPatterns("/tPig/*") .excludePathPatterns("/tPig/*")
.excludePathPatterns("/telApi/*") .excludePathPatterns("/telApi/*")
.excludePathPatterns("/cmsContent/*")
; ;
} }

@ -9,7 +9,7 @@ debug: false
#datasource数据源设置 #datasource数据源设置
spring: spring:
datasource: datasource:
url: jdbc:mysql://139.159.177.244:3306/hsg_pre?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false url: jdbc:mysql://122.9.135.148:3306/hsg?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
username: root username: root
password: HF123456. password: HF123456.
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource

@ -128,6 +128,7 @@ public class GoodsOrderServiceImpl implements PayService {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "获取token失败"); throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "获取token失败");
} }
Map<String,Object> push = new HashMap<>(); Map<String,Object> push = new HashMap<>();
push.put("token", tokenObject.getString("data")); push.put("token", tokenObject.getString("data"));
push.put("couTypeCode", coupon.getCouponKey()); push.put("couTypeCode", coupon.getCouponKey());

Loading…
Cancel
Save