liuyu hace 5 años
padre
commit
38e9238ef6
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/service/rabbitmq.js

+ 2 - 2
app/service/rabbitmq.js

@@ -113,8 +113,8 @@ class RabbitmqService extends Service {
           // const properties = msg.properties;
           const headers = msg.properties.headers;
           // 插入待办事项到数据库中。
-          // const path = self.ctx.app.config.baseDir + self.ctx.app.config.stusDir + headers.userid;
-          const path = 'http://10.16.5.15:8101/api/studentcorp' + headers.userid;
+          const path = self.ctx.app.config.baseDir + self.ctx.app.config.stusDir + headers.userid;
+          // const path = 'http://10.16.5.15:8101/api/studentcorp' + headers.userid;
           const stus = self.ctx.curl(path, {
             method: 'GET',
             dataType: 'json',