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