添加hCaptcha验证码 + 添加返利模式开关

This commit is contained in:
兔姬桑
2020-04-14 09:09:07 +08:00
parent 5689018af0
commit c8cc80051e
18 changed files with 319 additions and 247 deletions

View File

@@ -5,7 +5,7 @@ alter table `notification_log` CHANGE `type` `type` TINYINT(4) NOT NULL DEFAULT
insert into `config` VALUES ('104', 'bark_key', '');
update `config` SET `name` = 'is_node_offline' where `config`.`id` = 37;
update `config` SET `name` = 'is_notification', `value` = '0' where `config`.`id` = 39;
update `config` SET `name` = 'is_notification', `value` = '0' where `config`.`id` = 39;
update `config` SET `name` = 'is_email_filtering',`value` = '0' where `config`.`id` = 58;
update `config` SET `name` = 'detection_check_times' where `config`.`id` = 68;
update `config` SET `name` = 'is_activate_account', `value` = '0' where `config`.`id` = 73;

5
sql/mod/20200414.sql Normal file
View File

@@ -0,0 +1,5 @@
-- 返利模式可调1-初次返利、2-循环返利
UPDATE `config` SET `name` = 'referral_type', `value` = '0' where `config`.`id` = 10;
-- 增加hCaptcha的密钥和网站密钥
INSERT INTO `config` VALUES ('105', 'hcaptcha_secret', '');
INSERT INTO `config` VALUES ('106', 'hcaptcha_sitekey', '');