|
@@ -91,12 +91,12 @@ class PersonalService extends CrudService {
|
|
|
return token;
|
|
|
}
|
|
|
|
|
|
- async delete({ id }) {
|
|
|
- const object = await this.model.findById(id);
|
|
|
- if (!object) throw new BusinessError(ErrorCode.DATA_NOT_EXIST, '未找到用户的信息');
|
|
|
- object.isdel = '1';
|
|
|
- await object.save();
|
|
|
- }
|
|
|
+ // async delete({ id }) {
|
|
|
+ // const object = await this.model.findById(id);
|
|
|
+ // if (!object) throw new BusinessError(ErrorCode.DATA_NOT_EXIST, '未找到用户的信息');
|
|
|
+ // object.isdel = '1';
|
|
|
+ // await object.save();
|
|
|
+ // }
|
|
|
/**
|
|
|
* 个人升变专家
|
|
|
* @param {Object} body 升变数据
|