lanjianrong 3 年 前
コミット
4a85a46832
1 ファイル変更2 行追加2 行削除
  1. 2 2
      app/service/project.js

+ 2 - 2
app/service/project.js

@@ -199,7 +199,7 @@ module.exports = app => {
          */
         verifyManagementProject(token) {
             return new Promise((resolve, reject) => {
-                this.ctx.curl(`${app.config.env === 'prod' ? 'http://pm.6jlzf.cn' : 'http://pmqa.smartcost.com.cn'}/api/external/jl/calibration`, {
+                this.ctx.curl(`${app.config.env === 'prod' ? 'http://pm.6jlzf.cn' : 'http://192.168.1.76:2020'}/api/external/jl/calibration`, {
                     method: 'POST',
                     // dateType: 'json',
                     encoding: 'utf8',
@@ -227,7 +227,7 @@ module.exports = app => {
         async addProjectFromManagement() {
             const token = this.ctx.helper.createJWT({ account: this.ctx.session.sessionUser.account, code: this.ctx.session.sessionProject.code });
             return new Promise((resolve, reject) => {
-                this.ctx.curl(`${app.config.env === 'prod' ? 'http://pm.6jlzf.cn' : 'http://pmqa.smartcost.com.cn'}/api/external/jl/project/add`, {
+                this.ctx.curl(`${app.config.env === 'prod' ? 'http://pm.6jlzf.cn' : 'http://192.168.1.76:2020'}/api/external/jl/project/add`, {
                     method: 'POST',
                     encoding: 'utf8',
                     data: { token },