Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-sop
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5db55f21
authored
Mar 22, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改朋友圈样式
1 parent
5e21b1f3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
src/config/env.development.js
src/views/home/index.vue
src/config/env.development.js
View file @
5db55f2
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
module
.
exports
=
{
module
.
exports
=
{
envVersion
:
'trial'
,
envVersion
:
'trial'
,
request
:
{
request
:
{
baseURL
:
'http://scrm.
test
.glsx.com.cn'
,
// 本地测试项目地址,
baseURL
:
'http://scrm.
dev
.glsx.com.cn'
,
// 本地测试项目地址,
// 设置超时时间
// 设置超时时间
timeout
:
180000
,
timeout
:
180000
,
// 携带凭证
// 携带凭证
...
...
src/views/home/index.vue
View file @
5db55f2
...
@@ -217,8 +217,10 @@ export default {
...
@@ -217,8 +217,10 @@ export default {
}
)
}
)
}
,
}
,
send
()
{
send
()
{
this
.
showLoading
()
let
{
taskId
}
=
this
.
getQuery
()
let
{
taskId
}
=
this
.
getQuery
()
sopApi
.
getMedia
(
taskId
).
then
(
params
=>
{
sopApi
.
getMedia
(
taskId
).
then
(
params
=>
{
this
.
hideLoading
()
console
.
log
(
params
)
console
.
log
(
params
)
let
obj
=
{
let
obj
=
{
attachments
:
[]
attachments
:
[]
...
@@ -241,6 +243,7 @@ export default {
...
@@ -241,6 +243,7 @@ export default {
url
:
e
[
key
].
url
url
:
e
[
key
].
url
}
}
else
par
=
{
else
par
=
{
// mediaid: '3zP79XZIMyCtlbTEDG9zPnheeOQsBS4Iz_SkGIcH05bLhHUGLPQsYQLPWy_7BmzlZ'
mediaid
:
e
[
key
].
mediaId
mediaid
:
e
[
key
].
mediaId
}
}
obj
.
attachments
.
push
({
obj
.
attachments
.
push
({
...
@@ -251,7 +254,7 @@ export default {
...
@@ -251,7 +254,7 @@ export default {
}
}
}
)
}
)
}
)
}
)
//
this.showLoading()
this
.
showLoading
()
wxConfig
.
shareToExternalMoments
(
obj
)
wxConfig
.
shareToExternalMoments
(
obj
)
.
then
(
res
=>
{
.
then
(
res
=>
{
this
.
hideLoading
()
this
.
hideLoading
()
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment