ソースを参照

feat:添加sql

private_deployment
xmzhao71 1年前
コミット
34b9180b94
2個のファイルの変更5行の追加2行の削除
  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 ファイルの表示

@@ -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 ファイルの表示

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

読み込み中…
キャンセル
保存