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

chore(ui): 升级业务库

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