添加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

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', '');