无关风月
2024-07-03 f138375f15c072d10335c20ecec9b35f1da78ee4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Spring
spring:
  application:
    # 应用名称
    name: ruoyi-study
  main:
    allow-bean-definition-overriding: true
  profiles:
    # 环境配置
    active: dev
---
spring:
  config:
    activate:
      on-profile: dev
  cloud:
    nacos:
      discovery:
        # 服务注册地址
        server-addr: 192.168.110.64:8848
        service: ${spring.application.name}
        group: DEFAULT_GROUP
        namespace: c6482de2-9508-4425-bde5-08abe35abace
      config:
        # 配置中心地址
        server-addr: 192.168.110.64:8848
        namespace: c6482de2-9508-4425-bde5-08abe35abace
        group: DEFAULT_GROUP
        name: ${spring.application.name}
        # 配置文件格式
        file-extension: yml
        # 共享配置
        shared-configs:
          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
---
spring:
  config:
    activate:
      on-profile: prod
  cloud:
    nacos:
      discovery:
        # 服务注册地址
        server-addr: 127.0.0.1:8848
        service: ${spring.application.name}
        group: DEFAULT_GROUP
        namespace: c6482de2-9508-4425-bde5-08abe35abace
      config:
        # 配置中心地址
        server-addr: 127.0.0.1:8848
        namespace: c6482de2-9508-4425-bde5-08abe35abace
        group: DEFAULT_GROUP
        name: ${spring.application.name}
        # 配置文件格式
        file-extension: yml
        # 共享配置
        shared-configs:
          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
 
huawei:
  url: https://smsapi.cn-southwest-2.myhuaweicloud.com:443/sms/batchSendSms/v1  #应用程序唯一标识
  appKey: WlLCBjQ3hg9esHFLk1mUM8eqqK36
  appSecret: TRK3BaNAxs3eW1rQdG46oh7yvw6Q
  sender: 8824060605338
  templateId: e5ddbbbac6e0460f87ae893566f71c0d
  signature: 众慧智能教育