update订单逻辑改造工厂模式

This commit is contained in:
2023-09-04 11:43:22 +08:00
parent 24b6e757d1
commit b82ae004bb
3 changed files with 4 additions and 7 deletions

View File

@@ -40,7 +40,7 @@ spring:
username: jsowell_dev
#url: jdbc:mysql://121.40.174.65:3306/jsowell_prd?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#username: jsowell
password: js@160829
password: 123456
# 从库数据源
slave:
# 从数据源开关/默认关闭

View File

@@ -5,11 +5,9 @@ import com.jsowell.wxpay.common.WeChatPayParameter;
import com.jsowell.wxpay.utils.WechatPayUtils;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
@Order(value = 2)
@Component
// @Order(value = 2)
// @Component
public class WechatPayConfig implements CommandLineRunner {
/**
* 公众号appid

View File

@@ -2,9 +2,8 @@ package com.jsowell.wxpay.config;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component
// @Component
public class WeixinLoginProperties implements InitializingBean {
@Value("${weixin.login.gateway}")