RSSHub/lib
MurphyYi 779d67a76f
fix(xiaomiyoupin): 修复众筹路由 API 失效问题 (#21785)
* fix(xiaomiyoupin): 修复众筹路由 API 失效问题

- 原依赖 /venue/page 接口返回 query_list,但该接口现已返回空 floors
- 改用 homepage/main/v1005 API,无需 sign,长期稳定
- 新增 crowdfunding.tsx 模板,展示更丰富的众筹信息(进度条、支持人数、起止时间等)
- 适配新 API 数据结构字段

Signed-off-by: zy84338719 <zy84338719@users.noreply.github.com>

* fix(xiaomiyoupin): 修复众筹路由 API 失效问题

- 原依赖 /venue/page 接口返回 query_list,但该接口现已返回空 floors
- 改用 homepage/main/v1005 API,无需 sign,长期稳定
- 新增 crowdfunding.tsx 模板,展示众筹进度、支持人数、起止时间等
- 复用 utils.ts 中的 parseModule helper

Signed-off-by: zy84338719 <zy84338719@users.noreply.github.com>

* style: fix lint issues (eqeqeq, no-negated-condition) and add data validation

- Replace != with explicit null/undefined checks
- Add safe navigation for resp.data.data.homepage
- Throw descriptive errors on missing data

Signed-off-by: zy84338719 <zy84338719@users.noreply.github.com>

* fix(xiaomiyoupin): simplify fix per maintainer feedback - add accept header only

---------

Signed-off-by: zy84338719 <zy84338719@users.noreply.github.com>
2026-04-23 06:02:26 +08:00
..
api
assets
errors style: auto format 2026-04-14 15:15:05 +00:00
middleware style: auto format 2026-04-14 15:15:05 +00:00
routes fix(xiaomiyoupin): 修复众筹路由 API 失效问题 (#21785) 2026-04-23 06:02:26 +08:00
routes-deprecated
shims chore(deps-dev): bump the oxc group across 1 directory with 4 updates (#21583) 2026-04-01 22:10:13 +08:00
utils style: auto format 2026-04-14 15:15:05 +00:00
views feat: add promotion 2026-03-17 15:59:10 +08:00
app-bootstrap.test.tsx feat(core): add honeybadger support (#21574) 2026-04-01 01:10:12 +08:00
app-bootstrap.tsx feat(core): add honeybadger support (#21574) 2026-04-01 01:10:12 +08:00
app.test.ts fix(ua): ensure header-generator and custom ua are effective with each other (#21546) 2026-03-29 22:47:56 +08:00
app.ts chore: unpin jsdom (#21505) 2026-03-25 23:16:40 +08:00
app.worker.tsx feat(core): add honeybadger support (#21574) 2026-04-01 01:10:12 +08:00
config.remote-error.test.ts
config.test.ts fix(ua): ensure header-generator and custom ua are effective with each other (#21546) 2026-03-29 22:47:56 +08:00
config.ts feat: disable IPv6 (#21719) 2026-04-13 23:45:08 +08:00
container.ts
entrypoints.test.ts
index.test.ts
index.ts feat: disable IPv6 (#21719) 2026-04-13 23:45:08 +08:00
pkg.test.ts
pkg.ts
registry.dynamic.test.ts feat: esm directory import (#21428) 2026-03-18 15:15:28 +08:00
registry.test.ts style: auto format 2026-04-14 15:15:05 +00:00
registry.ts feat: esm directory import (#21428) 2026-03-18 15:15:28 +08:00
route-paths.d.ts
router.js
routes.test.ts
server.ts
setup.test.ts style: auto format 2026-04-14 15:15:05 +00:00
types.ts docs: add sports category (#21704) 2026-04-13 04:21:20 +08:00
worker.ts
worker.worker.test.ts