|
@@ -69,7 +69,7 @@ class RabbitmqService extends Service {
|
|
|
|
|
|
const headers = msg.properties.headers;
|
|
|
|
|
|
- const path = self.ctx.app.config.baseDir + self.ctx.app.config.corpsDir + headers.userid;
|
|
|
+ const path = self.ctx.app.config.baseDirMq + self.ctx.app.config.corpsDirMq + headers.userid;
|
|
|
const corp = self.ctx.curl(path, {
|
|
|
method: 'GET',
|
|
|
dataType: 'json',
|
|
@@ -107,7 +107,7 @@ class RabbitmqService extends Service {
|
|
|
|
|
|
const headers = msg.properties.headers;
|
|
|
|
|
|
- const path = self.ctx.app.config.baseDir + self.ctx.app.config.stusDir + headers.userid;
|
|
|
+ const path = self.ctx.app.config.baseDirMq + self.ctx.app.config.stusDirMq + headers.userid;
|
|
|
|
|
|
const stus = self.ctx.curl(path, {
|
|
|
method: 'GET',
|
|
@@ -115,7 +115,7 @@ class RabbitmqService extends Service {
|
|
|
});
|
|
|
for (const elem of stus.data) {
|
|
|
|
|
|
- const pathStu = self.ctx.app.config.baseDir + self.ctx.app.config.strDir + elem.id;
|
|
|
+ const pathStu = self.ctx.app.config.baseDirMq + self.ctx.app.config.strDirMq + elem.id;
|
|
|
const stud = self.ctx.curl(pathStu, {
|
|
|
method: 'GET',
|
|
|
dataType: 'json',
|