lrf402788946 4 년 전
부모
커밋
d1f3544c1d
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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);
     }