Commit c1dc661f authored by 郭志伟's avatar 郭志伟

chore(ui): 升级业务库

parent d6fa153c
......@@ -9,15 +9,20 @@ export default {
return http.get(`${config.kdspHost}/api/kdsp/shop-cart/count`);
},
getMpSchema(params, appId, tenantId) {
return http.post(`${config.kdspHost}/api/kdsp/ka/info/getShareMiniUrl`, params, { emulateJSON: true, headers: {
return http.post(`${config.kdspHost}/api/kdsp/ka/info/getShareMiniUrl`, params, {
emulateJSON: true,
hideToast: true,
headers: {
'mini-app-id': appId,
'qg-tenant-id': tenantId
} });
}
});
},
getWxConfig(url = window.location.href.split('#')[0]) {
return http.post(`${config.kdspHost}/api/kdsp/wx/mp/getJsapiSign`, {
url,
appId: 'wx2f44c7fe7b08458d'
appId: 'wx2f44c7fe7b08458d',
hideLoading: true
});
}
};
\ No newline at end of file
......@@ -99,7 +99,7 @@ instance.interceptors.response.use(
!config.hideLoading && afterRequest();
let message = '';
let showToast = true;
let showToast = !config.hideToast;
if (err.message === 'Network Error' && !err.response) {
// 网络异常: 错误域名,
......
{
"api": {
"apiHost": "https://quantum-blocks-vcc3.liangkebang.net",
"h5Host": "https://quantum-h5-vcc3.liangkebang.net",
"opapiHost": "https://opapi-vcc3.liangkebang.net",
"passportHost": "https://passportapi-vcc3.liangkebang.net",
"kdspHost": "https://talos-vcc3.liangkebang.net",
"apiHost": "https://quantum-blocks-test4.liangkebang.net",
"h5Host": "https://quantum-h5-test4.liangkebang.net",
"opapiHost": "https://opapi-test4.liangkebang.net",
"passportHost": "https://passportapi-test4.liangkebang.net",
"kdspHost": "https://talos-test4.liangkebang.net",
"loginUrl": "",
"mallHost": "https://mall-vcc3.liangkebang.net",
"h5ShopHost": "https://tenet-vcc3.liangkebang.net/#",
"mallHost": "https://mall-test4.liangkebang.net",
"h5ShopHost": "https://tenet-test4.liangkebang.net/#",
"yxmTenantId": 560761,
"appIdMap": {
"560761": "wxe16bf9293671506c",
......@@ -16,16 +16,16 @@
},
"mysql": {
"low_code": {
"host": "172.17.5.48",
"port": "31393",
"host": "172.17.5.36",
"port": "30893",
"username": "qa",
"password": "qatest",
"database": "low_code"
}
},
"redis": {
"port": "31543",
"host": "172.17.5.14",
"port": "32677",
"host": "172.17.5.24",
"password": "",
"db": 0
},
......
{
"apiHost": "https://quantum-blocks-vcc3.liangkebang.net",
"h5Host": "https://quantum-h5-vcc3.liangkebang.net",
"opapiHost": "https://opapi-vcc3.liangkebang.net",
"passportHost": "https://passportapi-vcc3.liangkebang.net",
"kdspHost": "https://talos-vcc3.liangkebang.net",
"apiHost": "https://quantum-blocks-test4.liangkebang.net",
"h5Host": "https://quantum-h5-test4.liangkebang.net",
"opapiHost": "https://opapi-test4.liangkebang.net",
"passportHost": "https://passportapi-test4.liangkebang.net",
"kdspHost": "https://talos-test4.liangkebang.net",
"loginUrl": "",
"mallHost": "https://mall-vcc3.liangkebang.net",
"h5ShopHost": "https://tenet-vcc3.liangkebang.net/#",
"mallHost": "https://mall-test4.liangkebang.net",
"h5ShopHost": "https://tenet-test4.liangkebang.net/#",
"yxmTenantId": 560761,
"appIdMap": {
"560761": "wxe16bf9293671506c",
......
......@@ -1658,9 +1658,9 @@
}
},
"@qg/citrus-ui": {
"version": "0.3.19",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.3.19.tgz",
"integrity": "sha512-LDdSqEuvVD18m6oXIdZvHzkce/dStIEi+Stu9kQ36n4n1tLjNOsT6aqzoIjXe5V4PVQi5Ps69zXo095mpifECg==",
"version": "0.3.20",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.3.20.tgz",
"integrity": "sha512-VdOuvoImDZQit9fOfCL7fsiepe7IaRDKqiTVZFOL2v3tq3faWmJ/maL+9M1zRhusTZS96s+ZyomzWRFntO/DDw==",
"requires": {
"@better-scroll/core": "^2.1.1",
"@qg/cherry-ui": "^2.23.9",
......
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