Commit 5db55f21 by 李伟康

修改朋友圈样式

1 parent 5e21b1f3
......@@ -10,7 +10,7 @@
module.exports = {
envVersion: 'trial',
request: {
baseURL: 'http://scrm.test.glsx.com.cn', // 本地测试项目地址,
baseURL: 'http://scrm.dev.glsx.com.cn', // 本地测试项目地址,
// 设置超时时间
timeout: 180000,
// 携带凭证
......
......@@ -217,8 +217,10 @@ export default {
})
},
send () {
this.showLoading()
let { taskId } = this.getQuery()
sopApi.getMedia(taskId).then(params => {
this.hideLoading()
console.log(params)
let obj = {
attachments: []
......@@ -241,6 +243,7 @@ export default {
url: e[key].url
}
else par = {
// mediaid: '3zP79XZIMyCtlbTEDG9zPnheeOQsBS4Iz_SkGIcH05bLhHUGLPQsYQLPWy_7BmzlZ'
mediaid: e[key].mediaId
}
obj.attachments.push({
......@@ -251,7 +254,7 @@ export default {
}
})
})
// this.showLoading()
this.showLoading()
wxConfig.shareToExternalMoments(obj)
.then(res => {
this.hideLoading()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!