Ver código fonte

feat: 区分白标注册用户2

max 7 meses atrás
pai
commit
368d2596d9

+ 3 - 3
src/config/config.max.ts

@@ -14,10 +14,10 @@ export default {
         // username: 'root',
         // password: 'admin',
         host: '127.0.0.1',
-        port: 3306,
+        port: 3390,
         username: 'root',
-        password: '12345678',
-        database: 'va',
+        password: '123456',
+        database: 'va_test',
         // 自动建表 注意:线上部署的时候不要使用,有可能导致数据丢失
         synchronize: true,
         // 打印日志

+ 1 - 1
src/modules/payment/entity/business.ts

@@ -26,7 +26,7 @@ export class BusinessEntity extends BaseEntity {
   @Column({ comment: '地址' })
   address_line!: string;
 
-  @Column({ comment: '邮编' })
+  @Column({ comment: '邮编',  default: '' })
   post_code!: string;
 
   @Column({ comment: '邮箱' })

+ 1 - 1
src/modules/payment/entity/individual.ts

@@ -22,7 +22,7 @@ export class IndividualEntity extends BaseEntity {
   @Column({ comment: '地址' })
   address_line!: string;
 
-  @Column({ comment: '邮编' })
+  @Column({ comment: '邮编', default: ''  })
   post_code!: string;
 
   @Column({ comment: '邮箱' })