wuzeyu
2024-07-02 1c213b18d0e0b50dc23e9ff48954cec06d6ff092
1
2
3
4
5
6
7
8
# 数据源配置
spring:
    #多数据源需要配置
    main:
        allow-bean-definition-overriding: true #设置为true时,后定义的bean会覆盖之前定义的相同名称的bean
    datasource: #配置数据源
        #多个数据源名称在此配置,要求与spring。datasource。[ym][pj]中的一致
        names: ym, pj