Browse Source

[消息][修改][整理消息类型]

release_toaliyun_real
luozukai 7 years ago
parent
commit
687625f782
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mallinkAdmin/src/main/resources/db/migration/V201907311830__L_ALTER_BILL.sql

+ 2
- 2
mallinkAdmin/src/main/resources/db/migration/V201907311830__L_ALTER_BILL.sql View File

@@ -1,8 +1,8 @@
ALTER TABLE `wx_msg_validationcode_model`
ADD COLUMN `msg_type` INT(1) NULL DEFAULT NULL COMMENT '1短信2邮件';
ADD COLUMN `msg_type` INT(1) NULL DEFAULT 0 COMMENT '1短信2邮件';

ALTER TABLE `wx_msg_validationcode_model`
ADD COLUMN `role_type` INT(1) NULL DEFAULT NULL COMMENT '0通用1管理员2商户端3消费者';
ADD COLUMN `role_type` INT(1) NULL DEFAULT 0 COMMENT '0通用1管理员2商户端3消费者';

update wx_msg_validationcode_model set msg_type = 1 where content not like '<%';
update wx_msg_validationcode_model set msg_type = 2 where content like '<%';


Loading…
Cancel
Save