提交 c77b6b1a 编写于 作者: ping zhang's avatar ping zhang

微信内打开app ios 兼容 #

上级 0b2ce46a
...@@ -11,7 +11,10 @@ export const wxConfig = () => { ...@@ -11,7 +11,10 @@ export const wxConfig = () => {
* 微信类型 1、云鹊医联 5、云鹊健康 10、基层大众版 15、云鹊医 20、基层医生版 25、云鹊慧测试账号 30云鹊医导流公众号 * 微信类型 1、云鹊医联 5、云鹊健康 10、基层大众版 15、云鹊医 20、基层医生版 25、云鹊慧测试账号 30云鹊医导流公众号
*/ */
let type = '&type=' + getWxType(); // type不同,对应的appid不一样,15为线上 let type = '&type=' + getWxType(); // type不同,对应的appid不一样,15为线上
request({ url: `https://sc.yunqueyi.com/wechats/signs?url=${encodeURIComponent(location.href)}${type}` }).then(res => { let cCurl= location.href;
const url = cCurl.split('#')[0];
request({ url: `https://sc.yunqueyi.com/wechats/signs?url=${encodeURIComponent(url)}${type}` }).then(res => {
let configs = res.data.signMap; let configs = res.data.signMap;
wx.config({ wx.config({
debug: false, debug: false,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册