Files
ProxyPanel/sql/mod/20200415.sql
兔姬桑 077d41480d 重构支付系统 + 代码优化
0. 重置支付系统,
1. 添加 码支付
2. 添加 PayJs
3. 代码优化
2020-08-05 03:20:31 +08:00

17 lines
661 B
SQL

update `config` SET `name` = 'codepay_url', `value` = 'https://codepay.fateqq.com/creat_order/?' where `config`.`id` = 43;
update `config` SET `name` = 'codepay_id', `value` = '' where `config`.`id` = 44;
update `config` SET `name` = 'codepay_key', `value` = '' where `config`.`id` = 45;
update `config` SET `name` = 'website_callback_url', `value` = '' where `config`.`id` = 50;
alter table `payment`
drop `order_sn`,
drop `pay_way`,
drop `qr_id`,
drop `qr_url`,
drop `qr_code`,
drop `qr_local_url`;
drop table `order_goods`
ALTER TABLE `payment`
ADD COLUMN `qr_code` text COLLATE utf8mb4_unicode_ci COMMENT '支付二维码' AFTER `amount`;