文档
测试

获取首页推荐占卜项目

GET
/api/api/getItem

接口描述

获取首页推荐的占卜项目 (其他种类名字图片 需要写成静态 自行添加)

响应参数

参数名
类型
描述
必填
mid
int
占卜项目id
必填
title
string
占补项目名称
必填
icon
string
图标
必填
type
int
0跳转子类 1跳转玩法
必填

说明 / 示例

``` { "status": 1, "data": [ { "mid": 96, "title": "周易测算", "icon": "https://zbtxzb.oss-cn-beijing.aliyuncs.com/Column/6112164b310f0.png", "pid": 0, "type": 0 }, { "mid": 115, "title": "塔罗占卜", "icon": "https://zbtxzb.oss-cn-beijing.aliyuncs.com/Column/611216e20c931.png", "pid": 99, "type": 1 }, { "mid": 104, "title": "星座运势", "icon": "https://zbtxzb.oss-cn-beijing.aliyuncs.com/Column/6112171d66e96.png", "pid": 95, "type": 1 } ], "message": "成功", "code": 0 } ```