hc-sdk-chuanglansms SDK模块自动配置
使用该模块前须在 yaml 中配置相关参数, 配置参考 ChuangLanSmsProperties 中相关的属性hc-sdk-chuanglansms SDK模块配置文件类
Example:
# ========================= Haichuang Setting =========================
haichuang:
sdk:
chuanglansms:
# ApiAccount
api-account: xxx
# ApiPassword
api-password: xxx
# 请求Host, 此处只填写域名
host: xxx
# 默认短信签名, 可为空
default-sign-name: xxx
chuanglansms 第三方操作核心接口, 项目中所有 chuanglansms 的操作均使用此接口
该类已默认注入到 spring 中, 默认实现为 DefaultChuangLanSmsServiceImpl, 如需自定义实现请实现该接口并手动注入该接口ChuangLanSmsService 默认实现Copyright © 2021 HaiChuang Inc.. All rights reserved.