Commit 0189c9ed authored by 郭志伟's avatar 郭志伟

feat: 分享测试

parent db8cba5a
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
修复讨论: https://developers.weixin.qq.com/community/develop/doc/00044ae90742f8c82fb78fcae56800 修复讨论: https://developers.weixin.qq.com/community/develop/doc/00044ae90742f8c82fb78fcae56800
* @LastEditors: gzw * @LastEditors: gzw
* @Date: 2019-03-14 18:40:11 * @Date: 2019-03-14 18:40:11
* @LastEditTime: 2020-08-30 18:17:40 * @LastEditTime: 2020-08-30 18:41:38
*/ */
import cfg from "@/config/index"; import cfg from "@/config/index";
import { getwxAuth } from "@/api/user"; import { getwxAuth } from "@/api/user";
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
title = "wwww", title = "wwww",
desc = "aaaa", desc = "aaaa",
link = window.location.href, link = window.location.href,
imgUrl = "https://activitystatic.lkbang.net/mongo/images/activity%402x.272880e4.png" imgUrl = "https://mangguo-mg.liangkebang.net/sharetest.png"
) { ) {
const res = await getwxAuth({ const res = await getwxAuth({
appId: cfg.wxAppId, appId: cfg.wxAppId,
...@@ -53,7 +53,7 @@ export default { ...@@ -53,7 +53,7 @@ export default {
desc, desc,
link, link,
imgUrl, imgUrl,
type: "", type: "link",
dataUrl: "", dataUrl: "",
success: function() { success: function() {
console.log("分享成功"); console.log("分享成功");
......
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