get请求 websocket测试 GET http://localhost:5000/category/type 响应参数 参数名 类型 描述 必填 code int 示例:0 必填 msg string 示例:查询成功 必填 data array 数据列表 必填 id int 示例:1 必填 phone_type string 示例:小米/MI 必填 说明 / 示例 { "code": 0, "msg": "查询成功", "data": [ { "id": 1, "phone_type": "小米/MI" }, { "id": 2, "phone_type": "苹果/Apple" }, { "id": 3, "phone_type": "华为 /HUAWEI" }, { "id": 4, "phone_type": "vivo" }, { "id": 5, "phone_type": "OPPO" }, { "id": 6, "phone_type": "三星 /SAMSUNG" }, { "id": 11, "phone_type": "诺基亚/NOKIA" }, { "id": 12, "phone_type": "酷派/Coolpad " }, { "id": 13, "phone_type": "HTC" }, { "id": 14, "phone_type": "中兴/ZTE" }, { "id": 15, "phone_type": "索尼/SONY" }, { "id": 16, "phone_type": "魅族/MEIZU" }, { "id": 17, "phone_type": "努比亚/nubia" }, { "id": 18, "phone_type": "金立/GIONEE" }, { "id": 19, "phone_type": "华硕/ASUS" }, { "id": 20, "phone_type": "飞利浦/PHILIPS" }, { "id": 21, "phone_type": "TCL " } ] }
{ "code": 0, "msg": "查询成功", "data": [ { "id": 1, "phone_type": "小米/MI" }, { "id": 2, "phone_type": "苹果/Apple" }, { "id": 3, "phone_type": "华为 /HUAWEI" }, { "id": 4, "phone_type": "vivo" }, { "id": 5, "phone_type": "OPPO" }, { "id": 6, "phone_type": "三星 /SAMSUNG" }, { "id": 11, "phone_type": "诺基亚/NOKIA" }, { "id": 12, "phone_type": "酷派/Coolpad " }, { "id": 13, "phone_type": "HTC" }, { "id": 14, "phone_type": "中兴/ZTE" }, { "id": 15, "phone_type": "索尼/SONY" }, { "id": 16, "phone_type": "魅族/MEIZU" }, { "id": 17, "phone_type": "努比亚/nubia" }, { "id": 18, "phone_type": "金立/GIONEE" }, { "id": 19, "phone_type": "华硕/ASUS" }, { "id": 20, "phone_type": "飞利浦/PHILIPS" }, { "id": 21, "phone_type": "TCL " } ] }