Skip to content

Commit

Permalink
install.sql: 阿里云短信服务 设置为默认的短信平台
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayin committed Sep 14, 2017
1 parent 72d8ea5 commit d3d9848
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Install/Sms.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ CREATE TABLE `cms_sms_operator` (
PRIMARY KEY (`id`)
)ENGINE = InnoDB DEFAULT CHARSET = utf8;

INSERT INTO `cms_sms_operator` (`id`, `name`, `tablename`, `remark`, `enable`) VALUES ('1', '阿里大于', 'alidayu', '阿里大于短信平台', '1');
INSERT INTO `cms_sms_operator` (`id`, `name`, `tablename`, `remark`, `enable`) VALUES ('2', '云之讯', 'ucpaas', '云之讯短信平台', '0');
INSERT INTO `cms_sms_operator` (`id`, `name`, `tablename`, `remark`, `enable`) VALUES ('3', '阿里短信', 'alisms', '阿里消息服务之短信服务', '0');
INSERT INTO `cms_sms_operator` (`id`, `name`, `tablename`, `remark`, `enable`) VALUES ('4', '阿里云短信服务', 'aliyun', '阿里云短信服务', '0');


DROP TABLE IF EXISTS `cms_sms_alidayu`;

CREATE TABLE `cms_sms_alidayu` (
Expand Down Expand Up @@ -75,4 +69,10 @@ CREATE TABLE `cms_sms_aliyun` (
`sign` varchar(255) DEFAULT '' COMMENT '短信签名',
`template` varchar(255) DEFAULT '' COMMENT '短信模版 Code',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


INSERT INTO `cms_sms_operator` (`id`, `name`, `tablename`, `remark`, `enable`) VALUES ('1', '阿里大于', 'alidayu', '阿里大于短信平台', '0');
INSERT INTO `cms_sms_operator` (`id`, `name`, `tablename`, `remark`, `enable`) VALUES ('2', '云之讯', 'ucpaas', '云之讯短信平台', '0');
INSERT INTO `cms_sms_operator` (`id`, `name`, `tablename`, `remark`, `enable`) VALUES ('3', '阿里短信', 'alisms', '阿里消息服务之短信服务', '0');
INSERT INTO `cms_sms_operator` (`id`, `name`, `tablename`, `remark`, `enable`) VALUES ('4', '阿里云短信服务', 'aliyun', '阿里云短信服务', '1');

0 comments on commit d3d9848

Please sign in to comment.