Commit 1205c62c authored by chaiwei's avatar chaiwei

切换正式环境

parent 33a12c07
Pipeline #6027 canceled with stages
...@@ -15,13 +15,21 @@ module.exports = merge(prodEnv, { ...@@ -15,13 +15,21 @@ module.exports = merge(prodEnv, {
// basePath: "http://123.125.154.135:10004/core/r/api?sysName=dr_uat&apiName=", // basePath: "http://123.125.154.135:10004/core/r/api?sysName=dr_uat&apiName=",
//file_view:"http://123.125.154.135:10004/core/r/api/app/fileViewSvc?sysName=dr_dev&apiName=attment_view&attachment_id=", //file_view:"http://123.125.154.135:10004/core/r/api/app/fileViewSvc?sysName=dr_dev&apiName=attment_view&attachment_id=",
//filePath: "http://123.125.154.135:10004/core/r/api?sysName=dr_uat&apiName=file_view&", //filePath: "http://123.125.154.135:10004/core/r/api?sysName=dr_uat&apiName=file_view&",
loginPath: '"http://hlsapp.hand-china.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" ', // 测试环境
loginPathRl: '"http://sign.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="', // loginPath: '"http://hlsapp.hand-china.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" ',
basePath: '"http://sign.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="', // loginPathRl: '"http://lease.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
basePathRl: '"http://sign.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="', // basePath: '"http://lease.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
rootPath: '"http://sign.hitachics.com/core/r/api"', // basePathRl: '"http://lease.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
file_url: '"http://sign.hitachics.com/file/"', // rootPath: '"http://lease.hitachics.com/core/r/api"',
domainUrl: "http://sign.hitachics.com", // file_url: '"http://lease.hitachics.com/file/"',
// domainUrl: "http://lease.hitachics.com",
// 正式环境
loginPathRl: '"http://lease.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
basePath: '"http://lease.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
basePathRl: '"http://lease.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
rootPath: '"http://lease.hitachics.com/core/r/api"',
file_url: '"http://lease.hitachics.com/file/"',
domainUrl: "http://lease.hitachics.com",
appId: '"com.hls.easy.car"', appId: '"com.hls.easy.car"',
currentVersion: '"1.0.0"', currentVersion: '"1.0.0"',
wxCode: "'hlsWx'", wxCode: "'hlsWx'",
......
...@@ -6,12 +6,12 @@ module.exports = { ...@@ -6,12 +6,12 @@ module.exports = {
isMobilePlatform: false, isMobilePlatform: false,
appCode: '"HLS_APP"', appCode: '"HLS_APP"',
clearTable: true, clearTable: true,
loginPath: '"http://sign.hitachics.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" ', loginPath: '"http://lease.hitachics.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" ',
loginPathRl: '"http://sign.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="', loginPathRl: '"http://lease.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
basePath: '"http://sign.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="', basePath: '"http://lease.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
basePathRl: '"http://sign.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="', basePathRl: '"http://lease.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
rootPath: '"http://sign.hitachics.com/core/r/api"', rootPath: '"http://lease.hitachics.com/core/r/api"',
file_url: '"http://sign.hitachics.com/file/"', file_url: '"http://lease.hitachics.com/file/"',
appId: '"com.hls.easy.car"', appId: '"com.hls.easy.car"',
currentVersion: '"1.0.0"', currentVersion: '"1.0.0"',
wxCode: "'hlsWx'", wxCode: "'hlsWx'",
......
...@@ -6,12 +6,12 @@ module.exports = { ...@@ -6,12 +6,12 @@ module.exports = {
isMobilePlatform: false, isMobilePlatform: false,
appCode: '"HLS_APP"', appCode: '"HLS_APP"',
clearTable: true, clearTable: true,
loginPath: '"http://sign.hitachics.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" ', loginPath: '"http://lease.hitachics.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" ',
loginPathRl: '"http://sign.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="', loginPathRl: '"http://lease.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
basePath: '"http://sign.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="', basePath: '"http://lease.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
basePathRl: '"http://sign.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="', basePathRl: '"http://lease.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
rootPath: '"http://sign.hitachics.com/core/r/api"', rootPath: '"http://lease.hitachics.com/core/r/api"',
file_url: '"http://sign.hitachics.com/file/"', file_url: '"http://lease.hitachics.com/file/"',
appId: '"com.hls.easy.car"', appId: '"com.hls.easy.car"',
currentVersion: '"1.0.0"', currentVersion: '"1.0.0"',
wxCode: "'hlsWx'", wxCode: "'hlsWx'",
......
...@@ -43,9 +43,9 @@ import { post, get } from './scripts/hlsHttp' ...@@ -43,9 +43,9 @@ import { post, get } from './scripts/hlsHttp'
import hlsUtil from './scripts/hlsUtil' import hlsUtil from './scripts/hlsUtil'
// if (process.env.CONFIG_ENV === 'uat') { // if (process.env.CONFIG_ENV === 'uat') {
const VConsole = require('vconsole') // const VConsole = require('vconsole')
new VConsole() // eslint-disable-line // new VConsole() // eslint-disable-line
// } // }
Vue.use(directives) Vue.use(directives)
......
...@@ -1065,7 +1065,7 @@ export default { ...@@ -1065,7 +1065,7 @@ export default {
agentType: "1", agentType: "1",
// dealerFlag: vm.agentType, // dealerFlag: vm.agentType,
redirectUrl: redirectUrl:
"http://sign.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=1" "http://lease.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=1"
}; };
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) { vm.$post(url, param).then(function(res) {
...@@ -1129,7 +1129,7 @@ export default { ...@@ -1129,7 +1129,7 @@ export default {
legalIdNo: vm.legalRepresentativeCardNumber1, legalIdNo: vm.legalRepresentativeCardNumber1,
agentType: "2", agentType: "2",
redirectUrl: redirectUrl:
"http://sign.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=2" "http://lease.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=2"
}; };
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) { vm.$post(url, param).then(function(res) {
...@@ -1178,7 +1178,7 @@ export default { ...@@ -1178,7 +1178,7 @@ export default {
if (res.code == 0) { if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle"); vm.$vux.toast.text(res.message, "middle");
window.open( window.open(
"http://sign.hitachics.com/www/#/UserRegister", "http://lease.hitachics.com/www/#/UserRegister",
"_self" "_self"
); );
} else { } else {
...@@ -1193,7 +1193,7 @@ export default { ...@@ -1193,7 +1193,7 @@ export default {
// 认证结果返回给接口 // 认证结果返回给接口
authResult(id, code, suc) { authResult(id, code, suc) {
let vm = this; let vm = this;
let url = "http://sign.hitachics.com/core/api/public/listen/auth/result"; let url = "http://lease.hitachics.com/core/api/public/listen/auth/result";
let param = { let param = {
contextId: id, contextId: id,
verifycode: code, verifycode: code,
......
...@@ -367,7 +367,7 @@ export default { ...@@ -367,7 +367,7 @@ export default {
name: vm.personName, name: vm.personName,
mobile: vm.phoneNumber, mobile: vm.phoneNumber,
redirectUrl: redirectUrl:
"http://sign.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1" "http://lease.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1"
}; };
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) { vm.$post(url, param).then(function(res) {
...@@ -386,7 +386,7 @@ export default { ...@@ -386,7 +386,7 @@ export default {
// 获取url地址参数 // 获取url地址参数
UrlSearch() { UrlSearch() {
var name, value; var name, value;
// var str="http://sign.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1&status=true&serviceId=1151815015435601748&verifycode=4accf0d2106f9c7361be72093e1fb793&contextId=10074&passed=true"; //取得整个地址栏 // var str="http://lease.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1&status=true&serviceId=1151815015435601748&verifycode=4accf0d2106f9c7361be72093e1fb793&contextId=10074&passed=true"; //取得整个地址栏
var str = window.location.href; //取得整个地址栏 var str = window.location.href; //取得整个地址栏
// alert(str) // alert(str)
var num = str.indexOf("?"); var num = str.indexOf("?");
...@@ -405,7 +405,7 @@ export default { ...@@ -405,7 +405,7 @@ export default {
// 认证结果返回给接口 // 认证结果返回给接口
authResult(id, code, suc) { authResult(id, code, suc) {
let vm = this; let vm = this;
let url = "http://sign.hitachics.com/core/api/public/listen/auth/result"; let url = "http://lease.hitachics.com/core/api/public/listen/auth/result";
let param = { let param = {
contextId: id, contextId: id,
verifycode: code, verifycode: code,
...@@ -434,7 +434,7 @@ export default { ...@@ -434,7 +434,7 @@ export default {
if (res.code == 0) { if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle"); vm.$vux.toast.text(res.message, "middle");
window.open( window.open(
"http://sign.hitachics.com/www/#/UserRegister", "http://lease.hitachics.com/www/#/UserRegister",
"_self" "_self"
); );
} else { } else {
......
...@@ -358,7 +358,7 @@ export default { ...@@ -358,7 +358,7 @@ export default {
if (res.code == 0) { if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle"); vm.$vux.toast.text(res.message, "middle");
window.open( window.open(
"http://sign.hitachics.com/www/#/UserRegister", "http://lease.hitachics.com/www/#/UserRegister",
"_self" "_self"
); );
} else { } else {
......
...@@ -111,7 +111,7 @@ export default { ...@@ -111,7 +111,7 @@ export default {
if (res.code == 0) { if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle"); vm.$vux.toast.text(res.message, "middle");
window.open( window.open(
"http://sign.hitachics.com/www/#/UserRegister", "http://lease.hitachics.com/www/#/UserRegister",
"_self" "_self"
); );
} else { } else {
......
...@@ -108,25 +108,6 @@ export default { ...@@ -108,25 +108,6 @@ export default {
}, },
updated: function() {}, updated: function() {},
methods: { methods: {
// 获取中台token
// hlsSupportToken () {
// let vm = this
// let url = process.env.loginPath + 'appadmin'
// let param = {}
// return vm.hlsHttp.post(url, param).then(function (res) {
// window.localStorage.setItem('access_token', res.access_token)
// })
// },
// noticeQuery () {
// let vm = this
// let url = process.env.basePath + 'home_msg_query'
// let param = {
// 'offsize': 1,
// }
// vm.$post(url, param).then(function (res) {
// vm.messageList = res.notice_msg_list
// })
// },
// 调用微信接口的基础配置 // 调用微信接口的基础配置
wxConfig() { wxConfig() {
let clientUrl = ""; let clientUrl = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment