14 lines
582 B
SQL
14 lines
582 B
SQL
-- 查看eb_user_bill表结构
|
||
DESCRIBE eb_user_bill;
|
||
|
||
-- 查看现有的余额变动记录
|
||
SELECT * FROM eb_user_bill WHERE uid = 43 ORDER BY id DESC LIMIT 10;
|
||
|
||
-- 手动插入APP充值记录(根据实际表结构调整)
|
||
-- 如果表有create_time字段
|
||
INSERT INTO eb_user_bill (uid, link_id, pm, title, category, type, number, balance, mark, create_time, status)
|
||
VALUES (43, 'APP_RECHARGE', 1, '充值', 'now_money', 'recharge', 1200.00, 1001199.00, 'APP充值1200元', NOW(), 1);
|
||
|
||
-- 如果表没有create_time字段,查看有哪些字段
|
||
SHOW COLUMNS FROM eb_user_bill;
|