紧急修复了一些bug

This commit is contained in:
张乐
2020-08-17 15:28:28 +08:00
parent f85cfc7ce6
commit ec489d879d
122 changed files with 1235 additions and 3297 deletions

View File

@@ -5,22 +5,18 @@ import wechat from "@/libs/wechat.js";
* 获取微信公众号js配置
* @returns {*}
*/
export function getWechatConfig() {
return request.get("wechat/config",{ url: encodeURIComponent(wechat.signLink()) },{ noAuth: true });
}
// export function getWechatConfig() {
// return request.get(
// "wechat/config?t="+ Date.parse(new Date()),
// { url: encodeURIComponent(wechat.signLink()) },
// "wechat/config",
// { url: encodeURIComponent(location.href.split('#')[0]) },
// { noAuth: true }
// );
// }
export function getWechatConfig() {
return request.get(
"wechat/config",
{ url: encodeURIComponent(location.href.split('#')[0]) },
{ noAuth: true }
);
}
/**
* 获取微信sdk配置
* @returns {*}
@@ -71,7 +67,7 @@ export function follow() {
* @retins {*}
* */
export function imageBase64(image) {
return request.post("qrcode/base64",image,{},1);
return request.post("qrcode/base64",image,{ noAuth: true },1);
}
/**