fix: 修复装扮/收藏集搜索API示例数据错误

This commit is contained in:
Light_Quanta 2024-10-09 04:21:11 +08:00 committed by GitHub
parent 1a60eb8a0d
commit 7a60bba6ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -137,7 +137,7 @@
**示例:**
搜索关键词为 `2233`, 然而没有结果:
搜索关键词为 `2233`:
```shell
curl -G 'https://api.bilibili.com/x/garb/v2/mall/home/search' \
@ -154,10 +154,464 @@ curl -G 'https://api.bilibili.com/x/garb/v2/mall/home/search' \
"message": "0",
"ttl": 1,
"data": {
"list": null,
"list": [
{
"item_id": 0,
"name": "2024拜年纪-2233拜年画册",
"group_id": 70,
"group_name": "2024拜年纪-2233拜年画册",
"part_id": 0,
"state": "active",
"properties": {
"book_amount": "1395313",
"dlc_act_id": "279",
"dlc_act_status": "2",
"dlc_is_free": "0",
"dlc_lottery_id": "256",
"dlc_lottery_sale_quantity": "313028",
"dlc_lottery_type": "1",
"dlc_sale_end_time": "2114406245",
"dlc_sale_mode": "1",
"dlc_sale_start_time": "1707458400",
"dlc_surplus_stock": "0",
"image_cover": "http://i0.hdslb.com/bfs/archive/f96a8cf6866ccef8f54de4773acf0cb07b915ac6.png",
"sale_bp_forever_raw": "990",
"type": "dlc_act"
},
"current_activity": null,
"next_activity": {
"type": "first_draw_discount",
"time_limit": false,
"time_left": -1728418723,
"tag": "大会员首抽",
"price_bp_month": 490,
"price_bp_forever": 490,
"type_month": "",
"tag_month": "",
"time_limit_month": false,
"time_left_month": 0
},
"current_sources": null,
"finish_sources": null,
"sale_left_time": -1728418723,
"sale_time_end": -1728418723,
"sale_surplus": 0,
"sale_count_desc": "31万+",
"total_count_desc": "已售31万+份",
"tag": "",
"jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=279\u0026hybrid_set_header=2\u0026lottery_id=256",
"sales_mode": 0
},
{
"item_id": 0,
"name": "2024 BML\u0026BW 2233收藏集-2233福利卡池",
"group_id": 70,
"group_name": "2024 BML\u0026BW 2233收藏集-2233福利卡池",
"part_id": 0,
"state": "active",
"properties": {
"book_amount": "4376",
"dlc_act_id": "102962",
"dlc_act_status": "2",
"dlc_is_free": "1",
"dlc_lottery_id": "102966",
"dlc_lottery_sale_quantity": "2677",
"dlc_lottery_type": "2",
"dlc_sale_end_time": "1729828800",
"dlc_sale_mode": "2",
"dlc_sale_start_time": "1721876400",
"dlc_surplus_stock": "0",
"image_cover": "https://i0.hdslb.com/bfs/garb/4a374316b1e9a07cffeccbdeff585c472dcdcc26.png",
"sale_bp_forever_raw": "0",
"type": "dlc_act"
},
"current_activity": null,
"next_activity": null,
"current_sources": null,
"finish_sources": null,
"sale_left_time": -1728418723,
"sale_time_end": -1728418723,
"sale_surplus": 0,
"sale_count_desc": "2千+",
"total_count_desc": "已发放2千+份",
"tag": "限时DLC",
"jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=102962\u0026hybrid_set_header=2\u0026lottery_id=102966",
"sales_mode": 0
},
{
"item_id": 0,
"name": "2233·幻境序曲-长夜",
"group_id": 70,
"group_name": "2233·幻境序曲-长夜",
"part_id": 0,
"state": "active",
"properties": {
"book_amount": "228065",
"dlc_act_id": "102161",
"dlc_act_status": "2",
"dlc_is_free": "0",
"dlc_lottery_id": "103087",
"dlc_lottery_sale_quantity": "71200",
"dlc_lottery_type": "2",
"dlc_sale_end_time": "2114406245",
"dlc_sale_mode": "1",
"dlc_sale_start_time": "1722139200",
"dlc_surplus_stock": "0",
"image_cover": "https://i0.hdslb.com/bfs/garb/f7e4f434ba6b93434b9e60df3c57a07552af4ca1.png",
"sale_bp_forever_raw": "990",
"type": "dlc_act"
},
"current_activity": null,
"next_activity": {
"type": "first_draw_discount",
"time_limit": false,
"time_left": -1728418723,
"tag": "大会员首抽",
"price_bp_month": 490,
"price_bp_forever": 490,
"type_month": "",
"tag_month": "",
"time_limit_month": false,
"time_left_month": 0
},
"current_sources": null,
"finish_sources": null,
"sale_left_time": -1728418723,
"sale_time_end": -1728418723,
"sale_surplus": 0,
"sale_count_desc": "7万+",
"total_count_desc": "已售7万+份",
"tag": "DLC池",
"jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=102161\u0026hybrid_set_header=2\u0026lottery_id=103087",
"sales_mode": 0
},
{
"item_id": 0,
"name": "2233·群星闪耀时-双子座",
"group_id": 70,
"group_name": "2233·群星闪耀时-双子座",
"part_id": 0,
"state": "active",
"properties": {
"book_amount": "1164544",
"dlc_act_id": "113",
"dlc_act_status": "2",
"dlc_is_free": "0",
"dlc_lottery_id": "16",
"dlc_lottery_sale_quantity": "572712",
"dlc_lottery_type": "1",
"dlc_sale_end_time": "2114406245",
"dlc_sale_mode": "1",
"dlc_sale_start_time": "1686196800",
"dlc_surplus_stock": "0",
"image_cover": "http://i0.hdslb.com/bfs/archive/ed35d12a3dce7764d6cb5b02cb4a459373472522.jpg",
"sale_bp_forever_raw": "990",
"type": "dlc_act"
},
"current_activity": null,
"next_activity": {
"type": "first_draw_discount",
"time_limit": false,
"time_left": -1728418723,
"tag": "大会员首抽",
"price_bp_month": 90,
"price_bp_forever": 90,
"type_month": "",
"tag_month": "",
"time_limit_month": false,
"time_left_month": 0
},
"current_sources": null,
"finish_sources": null,
"sale_left_time": -1728418723,
"sale_time_end": -1728418723,
"sale_surplus": 0,
"sale_count_desc": "57万+",
"total_count_desc": "已售57万+份",
"tag": "",
"jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=113\u0026hybrid_set_header=2\u0026lottery_id=16",
"sales_mode": 0
},
{
"item_id": 39389,
"name": "2233人生百戏-花木兰",
"group_id": 70,
"group_name": "2233人生百戏-花木兰",
"part_id": 6,
"state": "active",
"properties": {
"desc": "为从军设妙计女扮男装涉千山越万水亲赴戎机。2233人生百戏·花木兰装扮上线啦本套装包括动态卡片、点赞动效和表情包永久购买还能成为认证粉丝领取粉丝专属装扮",
"fan_desc": "人生百戏-花木兰",
"fan_id": "人生百戏-花木兰",
"fan_item_ids": "39335,39384,39353,39354",
"fan_mid": "35365327",
"fan_no_color": "#eb3d3e",
"fan_recommend_desc": "为从军设妙计女扮男装,涉千山越万水亲赴戎机。",
"fan_recommend_jump_type": "url",
"fan_recommend_jump_value": "https://space.bilibili.com/35365327?spm_id_from=333.337.0.0",
"fan_share_image": "https://i0.hdslb.com/bfs/garb/item/5ddd3f72ef2a938e9125851f488068012b841ad4.jpg",
"gray_rule": "true",
"gray_rule_type": "all",
"image_cover": "https://i0.hdslb.com/bfs/garb/item/e21ec12047bcd93e6afb8e52a68eb9835cd54a23.jpg",
"image_cover_color": "#d8b796",
"is_hide": "false",
"item_id_card": "39334",
"item_id_emoji": "39352",
"item_id_thumbup": "39336",
"open_platform_vip_discount": "true",
"owner_uid": "647193094",
"rank_investor_show": "false",
"realname_auth": "false",
"sale_bp_forever_raw": "5000",
"sale_bp_pm_raw": "800",
"sale_buy_num_limit": "100",
"sale_quantity": "20000",
"sale_quantity_limit": "true",
"sale_region_ip_limit": "全球",
"sale_reserve_switch": "false",
"sale_time_begin": "1666868400",
"sale_type": "pay",
"suit_card_type": "big_img",
"type": "ip"
},
"current_activity": null,
"next_activity": {
"type": "open_platform_vip_discount",
"time_limit": true,
"time_left": 417469277,
"tag": "大会员平台折扣",
"price_bp_month": 640,
"price_bp_forever": 4000,
"type_month": "open_platform_vip_discount",
"tag_month": "大会员平台折扣",
"time_limit_month": true,
"time_left_month": 417469277
},
"current_sources": null,
"finish_sources": null,
"sale_left_time": -61550323,
"sale_time_end": -1728418723,
"sale_surplus": 8650,
"sale_count_desc": "1万+",
"total_count_desc": "已售1万+份",
"tag": "",
"jump_link": "https://www.bilibili.com/h5/mall/suit/detail?navhide=1\u0026id=39389",
"sales_mode": 0
},
{
"item_id": 4259,
"name": "2233白色情人节",
"group_id": 70,
"group_name": "2233白色情人节",
"part_id": 6,
"state": "active",
"properties": {
"desc": "shot你的心——无论是谁都拥有爱的权利快换上白色情人节专属装扮来遇见心里的那个ta吧本套装包括头像挂件、动态卡片、点赞动效和表情包永久购买还能成为认证粉丝领取粉丝专属装扮",
"fan_desc": "白色情人节",
"fan_id": "2233白色情人节",
"fan_item_ids": "4257,4230,4256,4255,4253,4254",
"fan_mid": "174501086",
"fan_no_color": "#f85574",
"fan_recommend_desc": "平淡日常中迎来浪漫的节日,象征爱情的丘比特们悄悄来到少女们身边,用爱之箭觉醒了懵懂悸动的心。新鲜的玫瑰,闪耀光泽的草莓,白色情人节这天为你准备不一样的惊喜。",
"fan_recommend_jump_type": "url",
"fan_recommend_jump_value": "https://b23.tv/54WVWS",
"fan_share_image": "https://i0.hdslb.com/bfs/garb/item/30e3f1b234dd33a2a5446dd7d05b31835ac74d4b.jpg",
"gray_rule": "true",
"gray_rule_type": "all",
"image_cover": "https://i0.hdslb.com/bfs/garb/item/a8d60a7d4f1f5a5de667b307736f701cb39c0741.jpg",
"image_cover_color": "#a3a8ec",
"image_cover_long": "https://i0.hdslb.com/bfs/garb/item/5ac3bb024d42ff0f26de07ce974351d62587c6ea.jpg",
"image_desc": "https://i0.hdslb.com/bfs/garb/item/cfe753a010d124a95fb311c372a5be69d82c8e13.jpg",
"is_hide": "false",
"item_id_card": "4231",
"item_id_emoji": "4252",
"item_id_pendant": "4229",
"item_id_thumbup": "4232",
"open_platform_vip_discount": "true",
"owner_uid": "647193094",
"rank_investor_show": "true",
"realname_auth": "false",
"sale_bp_forever_raw": "5900",
"sale_bp_pm_raw": "800",
"sale_buy_num_limit": "100",
"sale_quantity": "52000",
"sale_quantity_limit": "true",
"sale_region_ip_limit": "全球",
"sale_reserve_switch": "false",
"sale_time_begin": "1615694400",
"sale_type": "pay",
"suit_card_type": "big_img",
"type": "ip"
},
"current_activity": null,
"next_activity": {
"type": "open_platform_vip_discount",
"time_limit": true,
"time_left": 417469277,
"tag": "大会员平台折扣",
"price_bp_month": 640,
"price_bp_forever": 4720,
"type_month": "open_platform_vip_discount",
"tag_month": "大会员平台折扣",
"time_limit_month": true,
"time_left_month": 417469277
},
"current_sources": null,
"finish_sources": null,
"sale_left_time": -112724323,
"sale_time_end": -1728418723,
"sale_surplus": 0,
"sale_count_desc": "5万+",
"total_count_desc": "已售5万+份",
"tag": "粉丝套装已售罄",
"jump_link": "https://www.bilibili.com/h5/mall/suit/detail?navhide=1\u0026id=4259",
"sales_mode": 0
},
{
"item_id": 0,
"name": "2233·少女日记-蔚蓝幻想曲",
"group_id": 70,
"group_name": "2233·少女日记-蔚蓝幻想曲",
"part_id": 0,
"state": "active",
"properties": {
"book_amount": "100310",
"dlc_act_id": "103244",
"dlc_act_status": "2",
"dlc_is_free": "0",
"dlc_lottery_id": "103885",
"dlc_lottery_sale_quantity": "16563",
"dlc_lottery_type": "2",
"dlc_sale_end_time": "2114406245",
"dlc_sale_mode": "1",
"dlc_sale_start_time": "1727236800",
"dlc_surplus_stock": "0",
"image_cover": "http://i0.hdslb.com/bfs/archive/a04b3e9ef354493a0890a9197412f1c77e01ba0f.jpg",
"sale_bp_forever_raw": "990",
"type": "dlc_act"
},
"current_activity": null,
"next_activity": {
"type": "first_draw_discount",
"time_limit": false,
"time_left": -1728418723,
"tag": "大会员首抽",
"price_bp_month": 490,
"price_bp_forever": 490,
"type_month": "",
"tag_month": "",
"time_limit_month": false,
"time_left_month": 0
},
"current_sources": null,
"finish_sources": null,
"sale_left_time": -1728418723,
"sale_time_end": -1728418723,
"sale_surplus": 0,
"sale_count_desc": "1万+",
"total_count_desc": "已售1万+份",
"tag": "DLC池",
"jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=103244\u0026hybrid_set_header=2\u0026lottery_id=103885",
"sales_mode": 0
},
{
"item_id": 0,
"name": "2233·少女日记-十四岁生日",
"group_id": 70,
"group_name": "2233·少女日记-十四岁生日",
"part_id": 0,
"state": "active",
"properties": {
"book_amount": "100310",
"dlc_act_id": "103244",
"dlc_act_status": "2",
"dlc_is_free": "0",
"dlc_lottery_id": "103247",
"dlc_lottery_sale_quantity": "83747",
"dlc_lottery_type": "1",
"dlc_sale_end_time": "2114406245",
"dlc_sale_mode": "1",
"dlc_sale_start_time": "1723780800",
"dlc_surplus_stock": "0",
"image_cover": "https://i0.hdslb.com/bfs/garb/9c338eb4841cad917665140cc08c7d14b5c7e0bf.png",
"sale_bp_forever_raw": "990",
"type": "dlc_act"
},
"current_activity": null,
"next_activity": {
"type": "first_draw_discount",
"time_limit": false,
"time_left": -1728418723,
"tag": "大会员首抽",
"price_bp_month": 490,
"price_bp_forever": 490,
"type_month": "",
"tag_month": "",
"time_limit_month": false,
"time_left_month": 0
},
"current_sources": null,
"finish_sources": null,
"sale_left_time": -1728418723,
"sale_time_end": -1728418723,
"sale_surplus": 0,
"sale_count_desc": "8万+",
"total_count_desc": "已售8万+份",
"tag": "",
"jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=103244\u0026hybrid_set_header=2\u0026lottery_id=103247",
"sales_mode": 0
},
{
"item_id": 0,
"name": "2024 BML\u0026BW 2233收藏集-BML\u0026BW2024",
"group_id": 70,
"group_name": "2024 BML\u0026BW 2233收藏集-BML\u0026BW2024",
"part_id": 0,
"state": "active",
"properties": {
"book_amount": "4376",
"dlc_act_id": "102962",
"dlc_act_status": "2",
"dlc_is_free": "0",
"dlc_lottery_id": "102963",
"dlc_lottery_sale_quantity": "1699",
"dlc_lottery_type": "1",
"dlc_sale_end_time": "2114406245",
"dlc_sale_mode": "1",
"dlc_sale_start_time": "1721876400",
"dlc_surplus_stock": "0",
"image_cover": "https://i0.hdslb.com/bfs/garb/6c2d68faf143c33b484b110e2221ab15a0a1f85c.png",
"sale_bp_forever_raw": "990",
"type": "dlc_act"
},
"current_activity": null,
"next_activity": {
"type": "first_draw_discount",
"time_limit": false,
"time_left": -1728418723,
"tag": "大会员首抽",
"price_bp_month": 490,
"price_bp_forever": 490,
"type_month": "",
"tag_month": "",
"time_limit_month": false,
"time_left_month": 0
},
"current_sources": null,
"finish_sources": null,
"sale_left_time": -1728418723,
"sale_time_end": -1728418723,
"sale_surplus": 0,
"sale_count_desc": "1千+",
"total_count_desc": "已售1千+份",
"tag": "",
"jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=102962\u0026hybrid_set_header=2\u0026lottery_id=102963",
"sales_mode": 0
}
],
"pn": 1,
"ps": 20,
"total": 0
"total": 187
}
}
```