Commit 8338349e by 李伟康

commit

1 parent dc9c58ab
......@@ -109,6 +109,7 @@ const WxConfig = {
console.log(params)
return new Promise(resolve => {
wx.invoke('sendChatMessage', params, res => {
util.hideLoading()
console.log(res)
if (res.err_msg == 'sendChatMessage:ok') {
resolve()
......@@ -303,6 +304,7 @@ const WxConfig = {
// imgUrl: '' // 分享封面
return new Promise((resolve, reject) => {
wx.invoke('shareAppMessage', obj, function (res) {
util.hideLoading()
if (res.err_msg == 'shareAppMessage:ok') {
resolve(res)
} else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!