|
@@ -113,8 +113,8 @@ class RabbitmqService extends Service {
|
|
|
|
|
|
const headers = msg.properties.headers;
|
|
|
|
|
|
-
|
|
|
- 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 stus = self.ctx.curl(path, {
|
|
|
method: 'GET',
|
|
|
dataType: 'json',
|