|
@@ -189,14 +189,13 @@ class UserService extends CrudService {
|
|
|
const { market } = project;
|
|
|
if (!market) throw new BusinessError(ErrorCode.SERVICE_FAULT, '系统错误,需要检查系统项目中项目设置的各项目配置');
|
|
|
const url = `${market}/product/userdelete`;
|
|
|
- console.log(url);
|
|
|
const r = await this.ctx.curl(url, {
|
|
|
method: 'post',
|
|
|
headers: {
|
|
|
'content-type': 'application/json',
|
|
|
},
|
|
|
dataType: 'json',
|
|
|
- data: JSON.stringify(id),
|
|
|
+ data: id,
|
|
|
});
|
|
|
console.log(r);
|
|
|
}
|