Browse Source

feat:添加sql

private_deployment
xmzhao71 1 year ago
parent
commit
34b9180b94
2 changed files with 5 additions and 2 deletions
  1. +0
    -2
      open-api/src/main/java/com/iformall/config/WebMvcConfig.java
  2. +5
    -0
      suimangAdmin/src/main/resources/db/migration/V2023101600001_update.sql

+ 0
- 2
open-api/src/main/java/com/iformall/config/WebMvcConfig.java View File

@@ -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


+ 5
- 0
suimangAdmin/src/main/resources/db/migration/V2023101600001_update.sql View File

@@ -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`;

Loading…
Cancel
Save