소스 검색

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

郭超 4 년 전
부모
커밋
aa7ef0baa9
2개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/task/Task.vue
  2. 5 0
      tool4deploy/conf.d/nginx.conf

+ 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