From dceadcfa6fd34b88e556d9c72c9729c8e934acf9 Mon Sep 17 00:00:00 2001 From: eason Date: Mon, 2 Jul 2018 15:22:26 +0800 Subject: [PATCH] fix --- src/db/modify.sql | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/db/modify.sql b/src/db/modify.sql index 95209e9e8..f5605ad5d 100644 --- a/src/db/modify.sql +++ b/src/db/modify.sql @@ -574,7 +574,14 @@ CREATE TABLE `sys_mail_unsub` ( alter table sys_clients add column ali_sub_merchant_id varchar(20) DEFAULT NULL; update sys_clients set ali_sub_merchant_id = client_moniker; -alter table sys_clients add column enable_hf tinyint(0) NOT NULL; +alter table sys_clients add column enable_hf TINYINT(1) default '0'; +alter table sys_client_config add column enable_hf TINYINT(1) default '0'; +alter table sys_clients add column enable_link TINYINT(1) default '0'; +alter table sys_client_config add column enable_link TINYINT(1) default '0'; +alter table sys_clients add column hf_pay_url VARCHAR(150) DEFAULT null COMMENT '汇付通支付短连接'; +alter table sys_client_config add column hf_pay_url VARCHAR(150) DEFAULT null COMMENT '汇付通支付短连接'; + + ALTER TABLE sys_org ADD COLUMN min_hf_rate DECIMAL(3,2) DEFAULT NULL COMMENT '旗下商户最低hf费率'; ALTER TABLE sys_org ADD COLUMN hf_rate_value DECIMAL(3,2) DEFAULT NULL COMMENT '旗下商户hf费率';