Prechádzať zdrojové kódy

修改任务人员推荐的接口以及nginx配置

郭超 4 rokov pred
rodič
commit
aa7ef0baa9

+ 1 - 1
src/components/task/Task.vue

@@ -799,7 +799,7 @@ export default {
         "createTime": this.task.createTime,
         "datetime": this.task.datetime
       };
-      Http.post('/recommendationtest/querywithparam',task).then((res)=>{
+      Http.post('/recommendationtest/query',task).then((res)=>{
         window.open('http://59.42.10.54:7477/userinformation.html');
       })
     },

+ 5 - 0
tool4deploy/conf.d/nginx.conf

@@ -36,6 +36,11 @@ server {
             proxy_pass http://crowd_user:8081;
         }
 
+        location /recommendationtest {
+            proxy_pass http://taskRecommend:7477;
+        }
+
+
         #error_page  404              /404.html;
 
         # redirect server error pages to the static page /50x.html