2
0

fix: 调整余额扣费功能

This commit is contained in:
caiyuchao
2025-02-27 17:14:04 +08:00
parent 03aae62a4c
commit 3cbae167dc
17 changed files with 310 additions and 164 deletions

View File

@@ -0,0 +1,13 @@
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
ALTER TABLE `wfc_user_db`.`u_cdr_history`
ADD COLUMN `use_type` tinyint(4) NULL COMMENT 'use id' AFTER `duration`,
ADD COLUMN `use_id` bigint(20) NULL COMMENT 'use type' AFTER `use_type`
ALTER TABLE `wfc_user_db`.`u_client`
ADD COLUMN `active` tinyint(1) NULL COMMENT 'Whether the client is online' AFTER `client_mac`,
ADD COLUMN `use_type` tinyint(4) NULL COMMENT 'use type' AFTER `active`,
ADD COLUMN `use_id` bigint(20) NULL COMMENT 'use id' AFTER `use_type`
SET FOREIGN_KEY_CHECKS = 1;