|
@@ -28,7 +28,7 @@ class Achieve_applyService extends CrudService {
|
|
|
const personalData = { name: apply_personal, phone: apply_phone, email, addr };
|
|
|
personalData.password = '123456';
|
|
|
personalData.code = 'CGPIXT';
|
|
|
- personalData.status = '2';
|
|
|
+ personalData.status = '1';
|
|
|
personalData.role = '4';
|
|
|
user = await this.httpUtil.cpost('/users/personal', 'live', personalData);
|
|
|
if (!user) throw new BusinessError(ErrorCode.SERVICE_FAULT, '用户创建失败!');
|