Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
59916486
Commit
59916486
authored
Aug 11, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aaa
parent
11c83f3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
83 additions
and
0 deletions
+83
-0
gsb-marketplat/app/front/entry/public/apidoc/customer/template.md
+83
-0
No files found.
gsb-marketplat/app/front/entry/public/apidoc/customer/template.md
View file @
59916486
...
...
@@ -9,6 +9,7 @@
1.
[
添加图片
](
#createImginfo
)
1.
[
获取表单列表
](
#getFormList
)
1.
[
获取文件上传配置信息
](
#getOssConfig
)
1.
[
根据链接参数获取模板链接信息
](
#getTemplateAndLinkInfo
)
## **<a name="createTemplate"> 创建模板</a>**
...
...
@@ -512,3 +513,85 @@
}
```
## **<a name="getTemplateAndLinkInfo"> 根据链接参数获取模板链接信息</a>**
[
返回到目录
](
#menu
)
##### URL
[
/api/action/template/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getTemplateAndLinkInfo
```
javascript
{
"actionType"
:
"getTemplateAndLinkInfo"
,
"actionBody"
:
{
"channel_code"
:
1
,
"business_type_code"
:
1
,
"lauch_type_code"
:
1
,
"marketing_subject_code"
:
1
,
"else_channel_param"
:
"test"
,
"template_id"
:
10
,
"device"
:
"pc"
}
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"templateinfo"
:
{
"id"
:
10
,
"code"
:
"MT202008071548EDJGHs"
,
"name"
:
"营销模板"
,
"title"
:
"鸟啼2"
,
"keyword"
:
"关键词2"
,
"describe"
:
"描述2"
,
"pic_url"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_picUrl371415960733478082020630.jpg"
,
"is_enabled"
:
1
,
"template_content"
:
"{
\"
list
\"
:[{
\"
id
\"
:1,
\"
title
\"
:
\"
横幅
\"
,
\"
type
\"
:
\"
banner
\"
,
\"
acraoList
\"
:[{
\"
type
\"
:
\"
banner
\"
,
\"
list
\"
:[{
\"
id
\"
:0,
\"
url
\"
:
\"
https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=3650631927,187148042&fm=26&gp=0.jpg
\"
,
\"
href
\"
:
\"\"
,
\"
title
\"
:
\"
1231231
\"
,
\"
text
\"
:
\"
123123
\"
}],
\"
text_style
\"
:{
\"
width
\"
:
\"
100%
\"
,
\"
height
\"
:
\"
100%
\"
,
\"
alignItems
\"
:
\"
center
\"
,
\"
padding
\"
:
\"
70px 90px
\"
},
\"
style
\"
:{
\"
width
\"
:
\"
1000
\"
,
\"
height
\"
:
\"
300
\"
},
\"
display_time
\"
:
\"
1.5
\"
,
\"
switching_speed
\"
:
\"
1
\"
,
\"
id
\"
:0}]},{
\"
id
\"
:2,
\"
title
\"
:
\"
文本
\"
,
\"
type
\"
:
\"
text
\"
,
\"
acraoList
\"
:[{
\"
id
\"
:1,
\"
type
\"
:
\"
text
\"
,
\"
inner_text
\"
:
\"
<p class=
\\
\"
ql-align-center
\\
\"
>12313123123123123123</p><p class=
\\
\"
ql-align-center
\\
\"
><br></p><p class=
\\
\"
ql-align-center
\\
\"
>123123aaaaaaaaaaaaaaaaaaaaaaaaaaaaa</p>
\"
}]}]}"
,
"form_id"
:
null
,
"notes"
:
null
,
"user_id"
:
"hRGcxf2yGHauggUNwWRqjSvf9xqF9LFO"
,
"user_name"
:
"jytest6"
,
"company_id"
:
10
,
"created_at"
:
"2020-08-07T07:48:13.000Z"
,
"updated_at"
:
"2020-08-10T11:20:13.000Z"
,
"deleted_at"
:
null
,
"version"
:
0
},
"linkinfo"
:
{
"id"
:
1
,
"code"
:
"001"
,
"name"
:
"001"
,
"delivery_word"
:
"测试投放"
,
"else_channel_param"
:
"test"
,
"template_id"
:
10
,
"channel_name"
:
"1"
,
"business_type_name"
:
"1"
,
"lauch_type_name"
:
"1"
,
"marketing_subject_name"
:
"1"
,
"channel_code"
:
"1"
,
"business_type_code"
:
"1"
,
"lauch_type_code"
:
"1"
,
"marketing_subject_code"
:
"1"
,
"is_enabled"
:
1
,
"link_url_pc"
:
null
,
"link_url_mobile"
:
null
,
"notes"
:
null
,
"user_id"
:
"1"
,
"user_name"
:
"1"
,
"company_id"
:
10
,
"created_at"
:
"2020-08-08T11:27:13.000Z"
,
"updated_at"
:
null
,
"deleted_at"
:
null
,
"version"
:
null
}
},
"requestId"
:
"c190bb6177ce4c8ba018ce5aecda31c0"
}
```
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