1长捧、在數(shù)據(jù)庫sl_config表中初始化一條數(shù)據(jù)(0標(biāo)示關(guān),1標(biāo)示開)
INSERT INTO `sl_config` (`nameSpace`, `name`, `val`, `description`, `id`, `createBy`, `createTime`, `updateBy`, `updateTime`) VALUES ('message', 'message', '1', '短信開關(guān)標(biāo)識', '1', 'admin', '2017-01-18 11:43:47', '', '');
2诗力、調(diào)用ConfigService.sendMessage(content, mobile)方法,content為短信內(nèi)容叁怪、mobile為手機(jī)號