Compare commits

..

No commits in common. "68ce8594fef9400926647c80df9cea6df39b39eb" and "e415f5a362b06ca0ecc722e5ec138722a13dd8be" have entirely different histories.

2 changed files with 14 additions and 21 deletions

View File

@ -81,21 +81,18 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
script: script:
- echo "start copy" - echo "start copy"
- cd /ludu/maven - scp -r /ludu/maven/build/yudao-gateway root@121.36.203.133:/ludu/maven/build
- tar -cf ludu-build.tar ./build - echo "gateway done"
- scp ludu-build.tar root@121.36.203.133:/ludu/maven - scp -r /ludu/maven/build/yudao-module-system root@121.36.203.133:/ludu/maven/build
# - scp -r /ludu/maven/build/yudao-gateway root@121.36.203.133:/ludu/maven/build - echo "system done"
# - echo "gateway done" - scp -r /ludu/maven/build/ludu-module-ticketing root@121.36.203.133:/ludu/maven/build
# - scp -r /ludu/maven/build/yudao-module-system root@121.36.203.133:/ludu/maven/build - echo "ticketing done"
# - echo "system done" - scp -r /ludu/maven/build/ludu-module-parking root@121.36.203.133:/ludu/maven/build
# - scp -r /ludu/maven/build/ludu-module-ticketing root@121.36.203.133:/ludu/maven/build - echo "parking done"
# - echo "ticketing done" - scp -r /ludu/maven/build/yudao-module-infra root@121.36.203.133:/ludu/maven/build
# - scp -r /ludu/maven/build/ludu-module-parking root@121.36.203.133:/ludu/maven/build - echo "infra done"
# - echo "parking done" - scp -r /ludu/maven/build/ludu-job-admin root@121.36.203.133:/ludu/maven/build
# - scp -r /ludu/maven/build/yudao-module-infra root@121.36.203.133:/ludu/maven/build - echo "job done"
# - echo "infra done"
# - scp -r /ludu/maven/build/ludu-job-admin root@121.36.203.133:/ludu/maven/build
# - echo "job done"
# - scp -r /ludu/maven/build/ludu-module-datacenter root@120.46.37.243:/ludu/maven/build # - scp -r /ludu/maven/build/ludu-module-datacenter root@120.46.37.243:/ludu/maven/build
# - echo "system done" # - echo "system done"
@ -141,10 +138,6 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
command_timeout: 20m # 远程执行命令超时时间 command_timeout: 20m # 远程执行命令超时时间
script: script:
- cd /ludu/maven
- rm -rf ./build
- tar -xf ludu-build.tar -C ./
- cd /ludu/maven/build/yudao-gateway/ - cd /ludu/maven/build/yudao-gateway/
- chmod +x ./run.sh # 更改为可执行脚本 - chmod +x ./run.sh # 更改为可执行脚本
- ./run.sh || echo "ludu-module-ticketing build failed" # 运行脚本打包应用镜像并运行 - ./run.sh || echo "ludu-module-ticketing build failed" # 运行脚本打包应用镜像并运行

View File

@ -69,9 +69,9 @@
ssoLogin(); ssoLogin();
} else { } else {
// 提交 // 提交
const redirectUri = 'https://mt.ptzykjgs.com/xxl-job-admin/toLogin'; // 需要修改成,你回调的地址,就是在 index.html 拼接的 redirectUri const redirectUri = 'http://127.0.0.1:9090/xxl-job-admin/toLogin'; // 需要修改成,你回调的地址,就是在 index.html 拼接的 redirectUri
$.ajax({ $.ajax({
url: "https://mt.ptzykjgs.com/xxl-job-admin/auth/login-by-code?code=" + code url: "http://127.0.0.1:9090/xxl-job-admin/auth/login-by-code?code=" + code
+ '&redirectUri=' + redirectUri, + '&redirectUri=' + redirectUri,
method: 'POST', method: 'POST',
success: function (result) { success: function (result) {