From 34b9180b9427b84deb1a392967428f96dac222b0 Mon Sep 17 00:00:00 2001 From: xmzhao71 Date: Mon, 16 Oct 2023 18:38:44 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=B7=BB=E5=8A=A0sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- open-api/src/main/java/com/iformall/config/WebMvcConfig.java | 2 -- .../main/resources/db/migration/V2023101600001_update.sql | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 suimangAdmin/src/main/resources/db/migration/V2023101600001_update.sql diff --git a/open-api/src/main/java/com/iformall/config/WebMvcConfig.java b/open-api/src/main/java/com/iformall/config/WebMvcConfig.java index 1a25447..c0e520d 100644 --- a/open-api/src/main/java/com/iformall/config/WebMvcConfig.java +++ b/open-api/src/main/java/com/iformall/config/WebMvcConfig.java @@ -49,8 +49,6 @@ public class WebMvcConfig implements WebMvcConfigurer { .addResourceLocations("classpath:/META-INF/resources/"); registry.addResourceHandler("/webjars/**") .addResourceLocations("classpath:/META-INF/resources/webjars/"); - //registry.addResourceHandler("/app/**").addResourceLocations("classpath:/app/"); - } @Override diff --git a/suimangAdmin/src/main/resources/db/migration/V2023101600001_update.sql b/suimangAdmin/src/main/resources/db/migration/V2023101600001_update.sql new file mode 100644 index 0000000..274bbf7 --- /dev/null +++ b/suimangAdmin/src/main/resources/db/migration/V2023101600001_update.sql @@ -0,0 +1,5 @@ +ALTER TABLE `mallink_suimang`.`wx_third_party_api` +ADD COLUMN `phone` varchar(11) NOT NULL COMMENT ''用户会员手机号'' AFTER `parent_tenant_id`; + +ALTER TABLE `mallink_suimang`.`wx_third_party_api` +MODIFY COLUMN `type` tinyint NULL DEFAULT 1 COMMENT ''第三方类型,'' AFTER `phone`; \ No newline at end of file