feat(payment): complete creator income center

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-07 10:59:58 +08:00
co-authored by Claude Fable 5
parent 450b9f44b9
commit 9e6ae32fc1
16 changed files with 550 additions and 134 deletions
+4
View File
@@ -201,8 +201,12 @@ trait DBMigratorPart2 {
amount DECIMAL(18,2) NOT NULL DEFAULT 0,
type VARCHAR(32) NOT NULL DEFAULT 'order',
status VARCHAR(20) NOT NULL DEFAULT 'pending',
reversal_amount DECIMAL(18,2) NOT NULL DEFAULT 0,
error_message TEXT DEFAULT NULL,
audit_json LONGTEXT DEFAULT NULL,
created_at DATETIME NOT NULL,
settled_at DATETIME DEFAULT NULL,
reversed_at DATETIME DEFAULT NULL,
PRIMARY KEY (id),
UNIQUE KEY uniq_creator_order (author_id, order_number),
KEY idx_author (author_id),