20200415.sql 758 B

123456789101112131415161718192021
  1. -- 添加码支付配置
  2. update `config` SET `name` = 'codepay_url', `value` = 'https://codepay.fateqq.com/creat_order/?' where `config`.`id` = 43;
  3. update `config` SET `name` = 'codepay_id', `value` = '' where `config`.`id` = 44;
  4. update `config` SET `name` = 'codepay_key', `value` = '' where `config`.`id` = 45;
  5. -- 添加 支付回调链接自定义
  6. update `config` SET `name` = 'website_callback_url', `value` = '' where `config`.`id` = 50;
  7. -- 在线支付数据库 简化
  8. alter table `payment`
  9. drop `order_sn`,
  10. drop `pay_way`,
  11. drop `qr_id`,
  12. drop `qr_url`,
  13. drop `qr_code`,
  14. drop `qr_local_url`;
  15. drop table `order_goods`;
  16. ALTER TABLE `payment`
  17. ADD COLUMN `qr_code` text COLLATE utf8mb4_unicode_ci COMMENT '支付二维码' AFTER `amount`;