Files
MBTI_wang/api/database/update_distribution_min_withdraw_20260417.sql
卡若 ce55c48c64 feat: 同步今日小程序与后台迭代版本
集中提交今日 API、管理端、小程序与部署文档调整,确保 Gitea 主分支与本地最新开发版本一致。

Made-with: Cursor
2026-04-20 11:07:55 +08:00

9 lines
441 B
SQL
Raw Permalink 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.

-- 推广提现:最低金额改为 1 分0.01 元)。需 MySQL 5.7+ 且 value 为合法 JSON。
-- 也可直接在超管「分销设置」将最低提现改为 0.01 并保存。
UPDATE `mbti_system_config`
SET `value` = JSON_SET(CAST(`value` AS JSON), '$.minWithdrawFen', 1),
`updatedAt` = UNIX_TIMESTAMP()
WHERE `key` = 'distribution'
AND `enterprise_id` = 0
AND JSON_EXTRACT(CAST(`value` AS JSON), '$.minWithdrawFen') = 100;