App初次打开时展示的3个页面,可放置图片、背景色、文字。只对App有效(安卓、IOS),小程序和H5无这3个页面。

广告页固定三张,不允许添加

广告页可设置背景色(拾色器)或背景图

文字可选择性输入,可设置文字的颜色


所在controller:AppController

请求方式:GET或POST

URL:/{version}/app/ad/list

入参列表:无

返回值列表


参数名 类型 说明 备注
1 status String 状态码,成功返回200,失败返回500
2 msg String 提示信息
3 data. array.id Long 主键id
4 data. array.backgroundColor String 背景色
5 data. array.backgroundImage String 背景图
6 data. array.wordOne String 文字描述1
7 data.array.wordOneColor String 文字1颜色
8 data. array.wordTwo String 文字描述2
9 data.array.wordTwoColor String 文字2颜色
10 data. array.wordThree String 文字描述3
11 data.array.wordThreeColor String 文字3颜色
12 data. array.buttonColour String 按钮颜色 只有第三页才会有
13 data. array.buttonWord String 按钮文字 只有第三页才会有

返回值示例:

{
    "status": "200",
    "message": "获取App欢迎页成功",
    "data": [{
        "id": 1,
        "updateDate": "2019-11-07 16:24:47",
        "backgroundColor": "#FF0000",
        "backgroundImage": "/09/59/91/158973e8a7d947c58208aa1313fbf1a9.jpg",
        "wordOne": "思程商城",
        "wordOneColor": "#99CCFF",
        "wordThree": "思程商城",
        "wordTwo": "思程商城",
        "wordTwoColor": "#99CCFF",
        "wordThreeColor": "#99CCFF"
    }, {
        "id": 2,
        "updateDate": "2019-11-07 16:24:34",
        "backgroundColor": "#FF0000",
        "backgroundImage": "/04/58/27/c775276796eb4cf0aaf7ebe8783ab228.jpg",
        "wordOne": "思程商城",
        "wordOneColor": "#FF9933",
        "wordThree": "思程商城",
        "wordTwo": "思程商城",
        "wordTwoColor": "#FF9933",
        "wordThreeColor": "#FF9933"
    }, {
        "id": 3,
        "updateDate": "2019-11-07 16:24:19",
        "backgroundColor": "#FF0000",
        "backgroundImage": "/05/23/55/2c81335bc1d049269d55864cb7146907.jpg",
        "wordOne": "思程商城",
        "wordOneColor": "#FF6666",
        "wordThree": "思程商城",
        "wordTwo": "思程商城",
        "buttonWord": "立即体验",
        "wordTwoColor": "#FF6666",
        "buttonColour": "#FF6699",
        "wordThreeColor": "#FF6666"
    }],
    "page": {}
}