0. 战友你好 H5 初始化页面的配置
<p><strong>简要描述:</strong> </p>
<ul>
<li>初始化界面</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/api/h5/zhan_you_ni_hao_init</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<ul>
<li>
<p>暂无</p>
<p><strong>返回示例</strong></p>
</li>
</ul>
<pre><code>{
"msg": "success",
"data": {
"init": {
"kuaikan": [
{
"name": "战友头条",
"banner": 628,
"data": [
{
"name": "战友热点",
"banner": 628,
"lists": 617
},
{
"name": "纪念伟人",
"banner": 628,
"lists": 625
},
{
"name": "军歌红歌",
"banner": 628,
"lists": 626
},
{
"name": "战友祝福",
"banner": 628,
"lists": 627
}
]
},
{
"name": "毛主席专题",
"banner": 631,
"data": [
{
"name": "无",
"banner": 631,
"lists": 630
}
]
},
{
"name": "老兵政策",
"banner": 632,
"data": [
{
"name": "无",
"banner": 632,
"lists": 629
}
]
}
],
"more": true,
"fuwu": {
"xunzhao_qr": "https://xxx.com",
"banner": 637,
"dayi": 633,
"sheng": 635,
"shi": 634,
"qu": 636
}
},
"switch_share" : 1, // 0 关 1 开
"pendant": [
{
"appid": "wx66498bac9a052b9e",
"title": "",
"path": "",
"type": 6,
"type_appid": "",
"switch": 1,
"entry_images": "http://ad.heywoodsminiprogram.com/test/images/jpg/20191123171746399.jpg",
"card_images": "",
"style": "",
"multi_pendant": [],
"pendant_template_id": 0,
"id": 800,
"template_name": "赞赏"
},
{
"appid": "wx66498bac9a052b9e",
"title": "",
"path": "",
"type": 6,
"type_appid": "",
"switch": 0,
"entry_images": "http://ad.heywoodsminiprogram.com/test/images/jpg/20191127174859468.jpg",
"card_images": "",
"style": "",
"multi_pendant": [],
"pendant_template_id": 0,
"id": 801,
"template_name": "刷新"
},
{
"appid": "wx66498bac9a052b9e",
"title": "",
"path": "http://www.baidu.com",
"type": 2,
"type_appid": "",
"switch": 1,
"entry_images": "http://ad.heywoodsminiprogram.com/test/images/jpg/2019112719301292.jpg",
"card_images": "",
"style": "",
"multi_pendant": [
{
"entry_images": "http://ad.heywoodsminiprogram.com/test/images/jpg/2019112719301292.jpg",
"path": "http://www.baidu.com"
}
],
"pendant_template_id": 0,
"id": 802,
"template_name": "擦擦擦"
},
"share_type" : 1,// 1 置顶 2 mp 3 公共
"share_interaction":1, // 标识分享弹框的交互类型,1是分享弹框,2是赞赏弹框
"share_reword_rule":1,// 分享赞赏弹框规则:1 每天一次 2 每次都弹
},
"code": 1,
"state": true
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<p>挂件类型 :1 客服消息 2 mp链接 3 程序内页面跳转 4 跳转小程序(外部) 5 刷新 6 赞赏</p>
<p><strong>备注</strong> </p>
<ul>
<li>暂无</li>
</ul>