Commit d1808d54 authored by Xuguangxing's avatar Xuguangxing

feat: 配置生成小程序scheme接口请求头,增加tenantid和mini-app-id

parent c9044292
...@@ -43,7 +43,13 @@ export default { ...@@ -43,7 +43,13 @@ export default {
getScheme(params) { getScheme(params) {
return http.get( return http.get(
`${talosHost}/api/kdsp/ka/info/getShareMiniUrl`, `${talosHost}/api/kdsp/ka/info/getShareMiniUrl`,
{ params }, {
params,
headers: {
'qg-tenant-id': 560761, // 羊小咩租户ID
'mini-app-id': 'wxb3e6270e1b1e0bc7' // 羊小咩小程序appid
}
},
{ hideLoading: true } { hideLoading: true }
); );
}, },
......
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