|
@@ -38,7 +38,7 @@ class TeacherService extends CrudService {
|
|
|
detail = '您的账号身份已确认,密码为:' + passwd + '请尽快登录账号上传课件资料附件';
|
|
|
// 状态更新后创建教师用户
|
|
|
const newdata = { name: teacher.name, mobile: teacher.phone, type: '3', uid: teacher.id };
|
|
|
- newdata.passwd = passwd;
|
|
|
+ newdata.passwd = { secret: passwd };
|
|
|
await this.umodel.create(newdata);
|
|
|
} else if (status === '4') {
|
|
|
detail = '您已通过审核被正式录入教师库';
|