fuc-new/手动部分.md
hellcat 1fe8673f62 1
2025-10-01 13:34:29 +08:00

94 lines
2.7 KiB
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

ALTER TABLE user_money_log
ADD COLUMN `type` INT(11) DEFAULT 0;
ALTER TABLE user_invite_code
ADD COLUMN `is_admin` tinyint(1) DEFAULT 0;
ALTER TABLE product
ADD COLUMN `class_time` int(11) DEFAULT 0;
ALTER TABLE node
ADD COLUMN `online_user_date_last` datetime DEFAULT NULL;
CREATE TABLE `invite_up` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`code` varchar(100) DEFAULT NULL,
`type` tinyint(11) DEFAULT NULL COMMENT '0点击1注册',
`date` date DEFAULT NULL COMMENT '最后被注册时间',
`ip` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `draw` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL DEFAULT 0,
`user_mail` varchar(255) DEFAULT NULL,
`addr_type` varchar(255) DEFAULT NULL,
`addr` varchar(255) DEFAULT NULL,
`amount` decimal(10,2) NOT NULL DEFAULT 0.00,
`update_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`create_at` timestamp NULL DEFAULT current_timestamp(),
`status` tinyint(2) DEFAULT 0 COMMENT '0=待审核1=审核通过2=驳回;',
`memo` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
===========
$_ENV['aff_draw_need'] = 200;
ALTER TABLE user_money_log ADD COLUMN type TINYINT NOT NULL DEFAULT 0;
新建withdraw表
user_money_log添加type字段
user添加money_aff字段
user_invite_code添加字段
node加字段
===================================================
ALTER TABLE product ADD class_time INT DEFAULT 0;
ALTER TABLE user_coupon ADD name VARCHAR(255) NOT NULL AFTER id;
.config添加$_ENV['geoUrl']
客户端:
下载clash-verge的mac的intel客户端改名为Clash.Verge_intel.dmg。
下载clash-verge的linux客户端改名为Clash.Verge.AppImage.tar.gz。
git diff --name-only 3e86b30515c5bcc7532c3af03b64747b56355a61..e79b76c9004f89659f2af3557e6691a07c2d15df | zip changes.zip -@
ALTER TABLE user_money_log ADD COLUMN type TINYINT NOT NULL DEFAULT 0;
user_money_log
type
7 = 提现包括到余额和usdt
CREATE TABLE withdraw (
id INT AUTO_INCREMENT PRIMARY KEY,
user_id INT NOT NULL DEFAULT 0,
user_mail VARCHAR(255),
addr_type VARCHAR(255),
usdt_addr VARCHAR(255),
amount DECIMAL(10, 2)
);
CREATE TABLE aff_amount (
id INT AUTO_INCREMENT PRIMARY KEY,
user_id INT NOT NULL DEFAULT 0,
user_mail VARCHAR(255),
amount DECIMAL(10, 2)
);
ALTER TABLE withdraw
ADD COLUMN update_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;
ALTER TABLE withdraw
ADD COLUMN create_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP;