Commit aa3725d6 authored by 徐光星's avatar 徐光星

Merge branch 'feat/multiActivity' into 'master'

feat: vcc开关状态查询请求头version跟随app版本

See merge request !94
parents a5316dc0 7e1cd4d2
......@@ -26,9 +26,18 @@ export default {
});
},
getFinanceSetting() {
const customHeader: any = {};
if (EASY_ENV_IS_BROWSER) {
const ua = window.navigator.userAgent;
const appVersion = ua.match(/xyqb\/([\d|.]+)/) ? (ua.match(/xyqb\/([\d|.]+)/) as string[])[1] : '8.2.00';
customHeader.version = appVersion;
}
// return http.post(`http://yapi.quantgroups.com/mock/351/api/kdsp/api/kdsp/vcc_switch`, {
return http.post(`${config.kdspHost}/api/kdsp/vcc_switch/get-vcc-status`, {
areaType: 6
}, {
customHeader
});
}
};
\ No newline at end of file
......@@ -19,7 +19,7 @@
},
"redis": {
"port": "30835",
"host": "172.16.4.6",
"host": "172.16.4.89",
"password": "",
"db": 0
},
......
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