From 777aa4e54ed27f6de2ce6077b546456b1e12cfad Mon Sep 17 00:00:00 2001 From: YUANYE <418471657@qq.com> Date: Sat, 18 Sep 2021 17:39:54 +0800 Subject: [PATCH] 1 --- hai-cweb/src/main/java/com/cweb/config/AuthConfig.java | 1 + hai-cweb/src/main/resources/pre/application.yml | 2 +- .../java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hai-cweb/src/main/java/com/cweb/config/AuthConfig.java b/hai-cweb/src/main/java/com/cweb/config/AuthConfig.java index d17de229..95345f64 100644 --- a/hai-cweb/src/main/java/com/cweb/config/AuthConfig.java +++ b/hai-cweb/src/main/java/com/cweb/config/AuthConfig.java @@ -120,6 +120,7 @@ public class AuthConfig implements WebMvcConfigurer { .excludePathPatterns("/czOrder/orderRefundNotify") .excludePathPatterns("/tPig/*") .excludePathPatterns("/telApi/*") + .excludePathPatterns("/cmsContent/*") ; } diff --git a/hai-cweb/src/main/resources/pre/application.yml b/hai-cweb/src/main/resources/pre/application.yml index 1012ea5c..d21a5106 100644 --- a/hai-cweb/src/main/resources/pre/application.yml +++ b/hai-cweb/src/main/resources/pre/application.yml @@ -9,7 +9,7 @@ debug: false #datasource数据源设置 spring: 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 password: HF123456. type: com.alibaba.druid.pool.DruidDataSource diff --git a/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java b/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java index 8d672557..ca7476b7 100644 --- a/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java +++ b/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java @@ -128,6 +128,7 @@ public class GoodsOrderServiceImpl implements PayService { throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "获取token失败"); } + Map push = new HashMap<>(); push.put("token", tokenObject.getString("data")); push.put("couTypeCode", coupon.getCouponKey());