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 },