Ver Fonte

Merge branch 'main' of http://git.cc-lotus.info/Information/cxyy-service

lrf há 8 meses atrás
pai
commit
8eeab808ef
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/service/util.service.ts

+ 1 - 1
src/service/util.service.ts

@@ -278,7 +278,7 @@ export class UtilService {
         try {
           const userInfo = await this.userModel.insert({ account: name, nick_name: name, password: '123456', industry: [industry], gender: '0', role: ['User', 'Company'], status: '1' });
           const id = get(userInfo, 'identifiers.0.id');
-          await this.companyModel.insert({ ...i, user: id, status: '1' });
+          await this.companyModel.insert({ ...i, user: id, status: '1', is_show: '1' });
         } catch (error) {
           const namek = Object.keys(error.errors)[0];
           const mapping = mappingList.find(i => i.field === namek);