Commit 61eadeee authored by 智勇's avatar 智勇

删除多余的ui配置

parent 9154c6af
No preview for this file type
var protocal = window.location.protocol;
var domain = '.domain.com';
module.exports = {
API: protocal + "//actapi.domain.com",
XyqbH5Api: protocal + "//mapi.domain.com",
QiNiuHost: protocal + "//ohsx2fi5w.bkt.clouddn.com/",
XyqbUserUrl: protocal + '//passport.domain.com',
px2rem: 100,
domain: domain,
weixinAppid:'wx7188560d6923088d',//'wx89894cd83d117b26',
weixinUri:encodeURIComponent('http://wechattest1.domain.com/api/coupon/activity/wechat/rent_house/bargain'),
rentingApi:protocal + "//api.domain.com",
rentingUrl:protocal + "//activity.domain.com",
mallApiHost: protocal + '//mallapi.domain.com',
h5Url: protocal + "//h5.domain.com"
};
// let protocol = window.location.protocol
let apiHost = 'http://pinja-api.domain.com'
let qiniuHost = 'https://oic74zs8j.qnssl.com'
module.exports = {
ApiBaseUrl: apiHost,
qiniuHost: qiniuHost
}
\ No newline at end of file
const protocol = window.location.protocol
let domain = '.domain.com'
const opSystem = 'SWXT'
const qiniuHost = 'http://7xtgdu.com1.z0.glb.clouddn.com/'
const opapiHost = `${protocol}//opapi.domain.com`
let opSystemPanelUrl = `${opapiHost}/userManage/systemPanel`
export default {
opapiHost,
qiniuHost,
opSystemPanelUrl,
domain,
opSystem
}
\ No newline at end of file
"use strict";
const merge = require("webpack-merge");
const prodEnv = require("./prod.env");
module.exports = merge(prodEnv, {
NODE_ENV: '"development"',
API_HOST: '"clotho.domain.com"'
});
\ No newline at end of file
//空文档,这个项目没有配置文件
\ No newline at end of file
export default {
baseApi: 'http://urge.domain.com'
}
\ No newline at end of file
var protocol = window.location.protocol;
var api = protocol + '//btapi.domain.com/';
var auth = protocol + '//auth.domain.com/';
var mallApi = protocol + '//mallapi.domain.com/';
var offlineApi = protocol + '//offapi.domain.com/';
var offline = protocol + '//off.domain.com/';
var btUrl = protocol + '//bt.domain.com';
var domain = '.domain.com';
var xyqbUserUrl = protocol + '//passport.domain.com';
var xyqbUserApi = protocol + '//passportapi2.domain.com';
var xjdApi = protocol + '//api.domain.com';
module.exports = {
api: api,
auth: auth,
mallApi: mallApi,
offlineApi: offlineApi,
offline: offline,
xyqbUserUrl: xyqbUserUrl,
test:false,
btUrl: btUrl,
domain: domain,
xyqbUserApi: xyqbUserApi,
xjdApi: xjdApi,
baitiaoBankCardToken: 'BAITIAO_RETURN',
baitiaoRepayToken: 'BAITIAO_REPAY_RETURN'
};
var protocol = window.location.protocol;
module.exports = {
api: protocol + "//offapi.domain.com",
auth: protocol + "//auth.domain.com",
analysisUrl: "/analysis/",
test: false
};
\ No newline at end of file
const protocol = window.location.protocol
const qiniuHost = 'https://oic74zs8j.qnssl.com/'
// const opapiHost = 'http://192.168.29.39:9012' //开发环境
const opapiHost = 'http://pinja-analyse.domain.com' //对账、统计模块
const opapiHostNew = 'http://loan-shop-api.domain.com' //贷超模块
// const translateHost = 'http://192.168.165.177:12001' //开发环境 本地起
// const translateHost = 'http://translate-dongmeifeng.liangkebang.com' //测试环境环境
let LoginUrl = `${protocol}#/login` // 登录页
let domain = ''
export default{
qiniuHost,
opapiHost,
opapiHostNew,
// translateHost,
LoginUrl,
domain
}
\ No newline at end of file
const protocol = window.location.protocol
const qiniuHost = 'https://oic74zs8j.qnssl.com/'
//const opapiHost = `${protocol}//192.168.25.205:9001` //开发环境
const opapiHost = 'http://pinja-collection-api.domain.com'//测试环境
// const translateHost = 'http://192.168.165.177:12001' //开发环境 本地起
const translateHost = 'http://translate.domain.com' //测试环境环境
let LoginUrl = `${protocol}/login` // 登录页
let domain = ''
export default{
qiniuHost,
opapiHost,
translateHost,
LoginUrl,
domain
}
\ No newline at end of file
const protocol = window.location.protocol
const qiniuHost = 'https://oic74zs8j.qnssl.com/'
// const opapiHost = 'http://192.168.29.39:9012' //开发环境
const opapiHost = 'http://pinja-cr-api.domain.com' //测试环境
// const translateHost = 'http://192.168.165.177:12001' //开发环境 本地起
const translateHost = 'http://translate.domain.com' //测试环境环境
let LoginUrl = `${protocol}#/login` // 登录页
let domain = ''
export default{
qiniuHost,
opapiHost,
translateHost,
LoginUrl,
domain
}
\ No newline at end of file
import { Injectable } from '@angular/core';
@Injectable()
export class GlobalService {
pipesServer: String = 'http://pipes.liangkebang.com';
bpServerHost: String = `http://pipe.liangkebang.com`;
uploadServerHost: String = `http://pipes.liangkebang.com`;
authServer: String = `http://login.liangkebang.com`;
extend: Function = (s, t) => {
let ks = Object.keys(t)
for (let k of ks) {
s[k] = JSON.parse(JSON.stringify(t[k]))
}
}
}
const protocol = window.location.protocol
let apiHost = protocol + '//q-card-api.domain.com'
module.exports = {
ApiBaseUrl: apiHost,
}
\ No newline at end of file
const protocol = window.location.protocol
const opApiHost = `${protocol}//workflow-api.domain.com`
export default {
opApiHost: opApiHost,
opLoginUrl: `${opApiHost}/user/toLogin`
}
var protocal = window.location.protocol;
var apiHost = protocal + '//scapi.domain.com';
var xyqbUiHost = protocal + '//api.domain.com';
module.exports = {
api: apiHost,
xyqbUiApi: xyqbUiHost,
analysisUrl:"/analysis/",
test:true
};
\ No newline at end of file
(function () {
'use strict';
var protocol = window.location.protocol;
var apiHost = protocol + '//api.domain.com/';
var xyqbUserUIHost = protocol + '//passport.domain.com/';
var authHost = protocol + '//auth.domain.com/';
var bankCardReturnToken = 'BIND_RETURN_ONLINE';
var repayReturnToken = 'REPAY_RETURN_ONLINE';
var rebindRepayReturnToken = 'REBIND_RETURN_ONLINE';
var devHtHost = "24";
var activityUI= protocol +'//activity.domain.com/';
var qiniuHost= protocol +'//ohsx2fi5w.bkt.clouddn.com/';
var btHost= protocol +'//bt.domain.com/';
var shuntHost = protocol + '//flow.domain.com';
var h5Host = protocol + '//h5.domain.com/';
var xyqbApp = angular.module('xyqbUiApp');
xyqbApp.value('ApiBaseUrl', apiHost);
xyqbApp.value('AuthBaseUrl', authHost);
// xyqbApp.value('MogaokuBaseUrl', mogaokuHost);
xyqbApp.value('BindCardToken', bankCardReturnToken);
xyqbApp.value('RepayToken', repayReturnToken);
xyqbApp.value('RebindToken', rebindRepayReturnToken);
xyqbApp.value('ShuntBaseUrl', shuntHost);
xyqbApp.value('XyqbUserUI', xyqbUserUIHost);
xyqbApp.value('h5BaseUrl', h5Host);
xyqbApp.value('devHtHost', devHtHost);
if (location.host === '58.domain.com') {
bankCardReturnToken = '58BIND_RETURN_ONLINE';
repayReturnToken = '58REPAY_RETURN_ONLINE';
rebindRepayReturnToken = '58REBIND_RETURN_ONLINE';
xyqbApp.value('BindCardToken', bankCardReturnToken);
xyqbApp.value('RepayToken', repayReturnToken);
xyqbApp.value('RebindToken', rebindRepayReturnToken);
} else {
xyqbApp.value('BindCardToken', bankCardReturnToken);
xyqbApp.value('RepayToken', repayReturnToken);
xyqbApp.value('RebindToken', rebindRepayReturnToken);
}
})();
let protocol = window.location.protocol
module.exports = {
api: protocol + "//passportapi2.domain.com",
weixinAppid: 'wx7188560d6923088d',//'wx89894cd83d117b26',
//h5-liangkebang.com固定地址,不允许修改成namespace。因为线上公众号授信域名为h5.liangkebang.com
weixinUri: protocol + '//h5.liangkebang.com/wechat/receiveCode/extdata/',
test: true,
domain: "passport.domain.com"
};
\ No newline at end of file
......@@ -16,9 +16,9 @@ xyqbApiDomainRule: &xyqbApiDomainRule
to: *lkbDomain
useNamespace: true
# 替换cookie,需要放在api规则后;或者需要改正则
# 替换cookie
xyqbCookieRule: &xyqbCookieRule
reg: '.xyqb.com'
reg: '(?<![\w]).xyqb.com'
to: *lkbDomain
qgApiRule: &qgApiRule
......
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