lrf402788946 4 år sedan
förälder
incheckning
73d04aa0f1
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      app/service/user.js

+ 2 - 0
app/service/user.js

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