2
0
liuyu 5 سال پیش
والد
کامیت
38e9238ef6
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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 properties = msg.properties;
           const headers = msg.properties.headers;
           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, {
           const stus = self.ctx.curl(path, {
             method: 'GET',
             method: 'GET',
             dataType: 'json',
             dataType: 'json',