ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
### WeEngine Android、IOS Index api * result->seckillinfo: 秒杀 * result->bannerList:轮播列表 * result->navList:导航列表 * result->noticeList:公告列表 * result->cubeList : 魔方 4 、7、9为广告 11直播 12左右滑动 13推荐 ~~~[api] POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply <<< success { "status": 1, "result": { "seckillinfo": { "tag": "", //秒杀标题 "status": 0,//0隐藏 1显示 "time": "", //场次 "endtime": ,结束时间戳 "starttime": ,//开始时间戳 "goods": [ { "thumb": "", //缩略图 "price": "", //秒杀价 "marketprice": "" //原价 } ], "bannerList": [ { "id": "", //bannerID "uniacid": "", //公众号ID "bannername": "", //标题 "link": "", //type=3 跳转地址 "thumb": "", //图 "displayorder": "2", //排序 数字越大,排名越靠前 "enabled": "1", // 1显示 0隐藏 接口只查显示 "shopid": "0", // type=1 商品ID "iswxapp": "0", // 是否小程序banner "isapp": "1", //是否App banner 接口只查App banner "type": "", //跳转类型 0不跳 1商品 2分类 3网址 4内页 "insidepage": "", // type=4 内页参数 "cateid": "" // type=2 商品分类ID }, ...... ], "navList": [ { "id": "", //navID "uniacid": "", //公众号ID "navname": "", //标题 "icon": "", //图 "url": "", //type=3 跳转地址 "displayorder": "3", //排序 数字越大,排名越靠前 "status": "1", // 1显示 0隐藏 接口只查显示 "iswxapp": "0", // 是否小程序nav "isapp": "1", //是否App nav 接口只查App nav "insidepage": "", // type=4 内页参数 "shopid": "", // type=1 商品ID "cateid": "", // type=2 商品分类ID "type": "" //跳转类型 0不跳 1商品 2分类 3网址 4内页 }, ...... ], "noticeList": [ { "id": "", //公告ID "uniacid": "",//公众号ID "displayorder": "1", //排序 数字越大,排名越靠前 "title": "", //公告标题 "thumb": "",//缩略图 "link": "", //多余字段 "detail": "", //公告内容 "status": "1",// 1显示 0隐藏 接口只查显示 "createtime": "1509504400",//创建时间 时间戳 "shopid": "0",//多余字段 "iswxapp": "0", // 是否小程序公告 "isapp": "1" //是否App 公告 接口只查App 公告 } ], "cubeList": [ { "id": "", //魔方ID "uniacid": "", //公众号ID "cubename": "", //魔方标题 "icon": "", //标题图标 "param": "", //标题参数 type=1为商品ID 2为分类ID 3为网址 4为内页 "displayorder": "1", //序号 共8个魔方 1~8 从上到下 "status": "1", // 1显示 0隐藏 "iswxapp": "0", // 是否小程序魔方 "isapp": "1", ,//是否App 魔方 接口只查App 魔方 "type": "1", // 标题跳转类型 0不跳 1商品 2分类 3网址 4内页 "cube": [ { "img": "", //图片 "type": "", //类型 "param": ""//参数 }, ....... ] }, ...... ] } } } <<< error { "status": 0, "result": { "message": "错误信息" } } ~~~ #### 启动图 * time 时间(秒/s) * icon 启动图 * urlparam ~~~[api] POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.startup <<< success { "status": 1, "result": { "isclose": 0, "closetext": "", "time": 10, "icon": "", } } ~~~