Browse Source

:tada: 优化配置

smallchill 5 years ago
parent
commit
c95e88932c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/application.yml

+ 1 - 1
src/main/resources/application.yml

@@ -54,7 +54,7 @@ mybatis-plus:
     banner: false
     db-config:
       #主键类型  0:"数据库ID自增", 1:"不操作", 2:"用户输入ID",3:"数字型snowflake", 4:"全局唯一ID UUID", 5:"字符串型snowflake";
-      id-type: id_worker
+      id-type: assign_id
       #字段策略
       insert-strategy: not_null
       update-strategy: not_null