mirror of
https://gitee.com/dromara/sms4j.git
synced 2025-12-07 01:18:33 +08:00
恢复合并影响的配置demo
This commit is contained in:
parent
eb3157529a
commit
df36fb802a
@ -1,6 +1,8 @@
|
|||||||
sms:
|
sms:
|
||||||
# 标注从yml读取配置
|
# 标注从yml读取配置
|
||||||
config-type: yaml
|
config-type: yaml
|
||||||
|
# 账户上限
|
||||||
|
account-max: 1
|
||||||
blends:
|
blends:
|
||||||
# 阿里短信例子
|
# 阿里短信例子
|
||||||
ali:
|
ali:
|
||||||
@ -60,11 +62,35 @@ sms:
|
|||||||
template-id: pub_verif_short
|
template-id: pub_verif_short
|
||||||
# 模版名称
|
# 模版名称
|
||||||
templateName: code
|
templateName: code
|
||||||
|
# 渠道上限
|
||||||
|
maximum: 2
|
||||||
|
lianlu:
|
||||||
|
supplier: lianlu
|
||||||
|
templateId: 模板id
|
||||||
|
appId: 100116
|
||||||
|
appKey: d42d7
|
||||||
|
mchId: 100
|
||||||
|
signName: 【test】
|
||||||
|
cloopen:
|
||||||
|
# 短信厂商
|
||||||
|
supplier: cloopen
|
||||||
|
base-url: https://app.cloopen.com:8883/2013-12-26
|
||||||
|
access-key-id: 你的Access Key
|
||||||
|
access-key-secret: 你的Access Key Secret
|
||||||
|
sdkAppId: 你的应用ID
|
||||||
|
#自定义广州掌骏短信,添加factory全路径。config,factory,SmsImpl复制其他默认实现即可,修改对应的supplier和发送核心逻辑即可
|
||||||
|
zhangjun:
|
||||||
|
supplier: zhangjun
|
||||||
|
factory: org.dromara.sms4j.example.zhangjun.ZhangJunFactory
|
||||||
|
templateId: d2a****777
|
||||||
|
appId: 64c52d2a****77775fe72e3
|
||||||
|
sid: d2a****777
|
||||||
|
url: https://sms.idowe.com/**/**/**/send
|
||||||
sms-oa:
|
sms-oa:
|
||||||
config-type: yaml
|
config-type: yaml
|
||||||
oas:
|
oas:
|
||||||
oaDingTalkByYaml: # configId
|
oaDingTalkByYaml: # configId
|
||||||
isEnable: false # 表示该配置是否生效(默认生效,false表示不生效)
|
isEnable: true # 表示该配置是否生效(默认生效,false表示不生效)
|
||||||
supplier: dingding # 厂商标识
|
supplier: dingding # 厂商标识
|
||||||
tokenId: 您的accessKey
|
tokenId: 您的accessKey
|
||||||
sign: 您的sign
|
sign: 您的sign
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user