Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marketing-web
marketing
Commits
603a7f71
Commit
603a7f71
authored
Feb 23, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 短信打开小程序请求参数调整
parent
9f5ab9d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletions
+14
-1
addTemp.vue
src/views/message/addTemp.vue
+14
-1
No files found.
src/views/message/addTemp.vue
View file @
603a7f71
...
...
@@ -278,7 +278,20 @@ export default {
}
this
.
loading
=
true
;
const
{
type
,
dayNum
}
=
this
.
transferLink
;
getTransferLink
(
Object
.
assign
({
type
,
dayNum
}
,
{
pageId
:
this
.
selectLink
.
linkData
.
params
.
pageId
}
),
false
,
false
,
'post'
)
const
{
params
,
url
,
id
}
=
this
.
selectLink
.
linkData
;
const
requestData
=
{
type
,
dayNum
}
;
// 如果有pageId就传pageId,如果有url就传url,如果都没有就传id
if
(
params
&&
params
.
pageId
)
{
requestData
.
pageId
=
params
.
pageId
;
}
else
if
(
url
)
{
requestData
.
pageLink
=
url
;
}
else
{
requestData
.
linkId
=
id
;
}
if
(
type
==
2
)
{
delete
params
.
dayNum
;
}
getTransferLink
(
requestData
,
false
,
false
,
'post'
)
.
then
(
res
=>
{
this
.
insertLink
.
link
=
res
.
result
;
this
.
insertLink
.
show
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment