修复刷D券Bug

用数据库软件navicat连接数据库~~~~~~~~~~~~~~~

 

连接数据库按F6,复制下面代码粘贴进去按回车就行了。注意讲解一下

(外挂只能刷满点券,无法自定义点券数量! 下面代码是超过20亿点券会自动清0!所以你自己充值满点券应该也会清0,不要超过20亿即可!)

CREATE DATABASE IF NOT EXISTS `taiwan_billing`;

USE `taiwan_billing`;

DROP TRIGGER IF EXISTS `cash_cera`;

CREATE TRIGGER `cash_cera` BEFORE UPDATE ON `cash_cera`

FOR EACH ROW IF (new.cera >= 2000000000 OR new.cera <= 0 ) THEN SET new.cera = 0;END IF;

DROP TRIGGER IF EXISTS `cash_cera_point`;

CREATE TRIGGER `cash_cera_point` BEFORE UPDATE ON `cash_cera_point`

FOR EACH ROW IF (new.cera_point >= 2000000000 OR new.cera_point <= 0 ) THEN SET new.cera_point = 0;END IF;



CREATE DATABASE IF NOT EXISTS `taiwan_cain`;

USE `taiwan_cain`;

DROP TRIGGER IF EXISTS `tutorial_skip`;

CREATE TRIGGER `tutorial_skip` BEFORE INSERT ON `charac_stat` FOR EACH ROW begin set new.tutorial_flag=-1; end;

 

© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容