Commit 1205c62c authored by chaiwei's avatar chaiwei

切换正式环境

parent 33a12c07
Pipeline #6027 canceled with stages
......@@ -15,13 +15,21 @@ module.exports = merge(prodEnv, {
// 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=",
//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="',
basePath: '"http://sign.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
basePathRl: '"http://sign.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
rootPath: '"http://sign.hitachics.com/core/r/api"',
file_url: '"http://sign.hitachics.com/file/"',
domainUrl: "http://sign.hitachics.com",
// 测试环境
// 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://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",
// 正式环境
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"',
currentVersion: '"1.0.0"',
wxCode: "'hlsWx'",
......
......@@ -6,12 +6,12 @@ module.exports = {
isMobilePlatform: false,
appCode: '"HLS_APP"',
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=" ',
loginPathRl: '"http://sign.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="',
basePathRl: '"http://sign.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
rootPath: '"http://sign.hitachics.com/core/r/api"',
file_url: '"http://sign.hitachics.com/file/"',
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://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/"',
appId: '"com.hls.easy.car"',
currentVersion: '"1.0.0"',
wxCode: "'hlsWx'",
......
......@@ -6,12 +6,12 @@ module.exports = {
isMobilePlatform: false,
appCode: '"HLS_APP"',
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=" ',
loginPathRl: '"http://sign.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="',
basePathRl: '"http://sign.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
rootPath: '"http://sign.hitachics.com/core/r/api"',
file_url: '"http://sign.hitachics.com/file/"',
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://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/"',
appId: '"com.hls.easy.car"',
currentVersion: '"1.0.0"',
wxCode: "'hlsWx'",
......
......@@ -43,9 +43,9 @@ import { post, get } from './scripts/hlsHttp'
import hlsUtil from './scripts/hlsUtil'
// if (process.env.CONFIG_ENV === 'uat') {
const VConsole = require('vconsole')
new VConsole() // eslint-disable-line
// }
// const VConsole = require('vconsole')
// new VConsole() // eslint-disable-line
// }
Vue.use(directives)
......
......@@ -1065,7 +1065,7 @@ export default {
agentType: "1",
// dealerFlag: vm.agentType,
redirectUrl:
"http://sign.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=1"
"http://lease.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=1"
};
vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) {
......@@ -1129,7 +1129,7 @@ export default {
legalIdNo: vm.legalRepresentativeCardNumber1,
agentType: "2",
redirectUrl:
"http://sign.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=2"
"http://lease.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=2"
};
vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) {
......@@ -1178,7 +1178,7 @@ export default {
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://sign.hitachics.com/www/#/UserRegister",
"http://lease.hitachics.com/www/#/UserRegister",
"_self"
);
} else {
......@@ -1193,7 +1193,7 @@ export default {
// 认证结果返回给接口
authResult(id, code, suc) {
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 = {
contextId: id,
verifycode: code,
......
......@@ -367,7 +367,7 @@ export default {
name: vm.personName,
mobile: vm.phoneNumber,
redirectUrl:
"http://sign.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1"
"http://lease.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1"
};
vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) {
......@@ -386,7 +386,7 @@ export default {
// 获取url地址参数
UrlSearch() {
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; //取得整个地址栏
// alert(str)
var num = str.indexOf("?");
......@@ -405,7 +405,7 @@ export default {
// 认证结果返回给接口
authResult(id, code, suc) {
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 = {
contextId: id,
verifycode: code,
......@@ -434,7 +434,7 @@ export default {
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://sign.hitachics.com/www/#/UserRegister",
"http://lease.hitachics.com/www/#/UserRegister",
"_self"
);
} else {
......
......@@ -358,7 +358,7 @@ export default {
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://sign.hitachics.com/www/#/UserRegister",
"http://lease.hitachics.com/www/#/UserRegister",
"_self"
);
} else {
......
......@@ -111,7 +111,7 @@ export default {
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://sign.hitachics.com/www/#/UserRegister",
"http://lease.hitachics.com/www/#/UserRegister",
"_self"
);
} else {
......
......@@ -108,25 +108,6 @@ export default {
},
updated: function() {},
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() {
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