添加发送短信参数,添加到数据库里

--202505141129.sql
--db.changelog-master.yaml
This commit is contained in:
剑雨
2025-05-14 12:22:13 +08:00
parent d9149ff572
commit c8392c9b47
2 changed files with 19 additions and 1 deletions
@@ -0,0 +1,11 @@
-- 添加手机短信注册功能的需要的参数
INSERT INTO
xiaozhi_esp32_server.sys_params
(id, param_code, param_value, value_type, param_type, remark, creator, create_date, updater, update_date)
VALUES
(501, 'system.enable_mobile_register', 'false', 'boolean', 1, '是否开启手机注册', NULL, NULL, NULL, NULL),
(502, 'system.sms.max_send_count', '5', 'number', 1, '单号码最大短信发送条数', NULL, NULL, NULL, NULL),
(510, 'aliyun.sms.access_key_id', '', 'string', 1, '阿里云平台access_key', NULL, NULL, NULL, NULL),
(511, 'aliyun.sms.access_key_secret', '', 'string', 1, '阿里云平台access_key_secret', NULL, NULL, NULL, NULL),
(512, 'aliyun.sms.sign_name', '', 'string', 1, '阿里云短信签名', NULL, NULL, NULL, NULL),
(513, 'aliyun.sms.sms_code_template_code', '', 'string', 1, '阿里云短信模板', NULL, NULL, NULL, NULL);
@@ -113,4 +113,11 @@ databaseChangeLog:
changes:
- sqlFile:
encoding: utf8
path: classpath:db/changelog/202505091409.sql
path: classpath:db/changelog/202505091409.sql
- changeSet:
id: 202505141129
author: zjy
changes:
- sqlFile:
encoding: utf8
path: classpath:db/changelog/202505141129.sql