修复报错

1. 修复Bark通知,会出现code找不到的报错;
2. 修改邮箱与推送重复的问题;
3. 修复服务监视ServiceTimer报错的问题;
4. 修复不发使用用户编辑页面的问题;
5. 修复订单回调处理出错的问题
This commit is contained in:
兔姬桑
2020-04-22 04:36:35 +08:00
parent 672dc1ba29
commit 07df6c542d
13 changed files with 87 additions and 65 deletions

View File

@@ -1,8 +1,12 @@
-- 添加码支付配置
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`,
@@ -11,7 +15,7 @@ alter table `payment`
drop `qr_code`,
drop `qr_local_url`;
drop table `order_goods`
drop table `order_goods`;
ALTER TABLE `payment`
ADD COLUMN `qr_code` text COLLATE utf8mb4_unicode_ci COMMENT '支付二维码' AFTER `amount`;

View File

@@ -1,4 +1,7 @@
-- 添加各类支付方式首选项
update `config` SET `name` = 'is_AliPay', `value` = '' where `config`.`id` = 78;
update `config` SET `name` = 'is_QQPay', `value` = '' where `config`.`id` = 79;
update `config` SET `name` = 'is_WeChatPay', `value` = '' where `config`.`id` = 80;
-- 添加 支付订单命称
update `config` SET `name` = 'subject_name' where `config`.`id` = 91;

View File

@@ -1,2 +1,5 @@
-- 添加各类支付方式首选项
update `config` SET `name` = 'is_otherPay', `value` = '' where `config`.`id` = 81;
-- 添加麻瓜宝配置
update `config` SET `name` = 'bitpay_secret', `value` = '' where `config`.`id` = 86;

2
sql/mod/20200422.sql Normal file
View File

@@ -0,0 +1,2 @@
-- 推送通知 方式重置
update `config` SET `name` = 'is_notification', `value` = '0' where `config`.`id` = 39;