lrf402788946 4 years ago
parent
commit
d1f3544c1d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      app/service/user.js

+ 1 - 2
app/service/user.js

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