Skip to content

fix(wecom): track purchased license capacity#7292

Open
FinleyGe wants to merge 1 commit into
labring:mainfrom
FinleyGe:codex/fix-wecom-license-capacity
Open

fix(wecom): track purchased license capacity#7292
FinleyGe wants to merge 1 commit into
labring:mainfrom
FinleyGe:codex/fix-wecom-license-capacity

Conversation

@FinleyGe

Copy link
Copy Markdown
Collaborator

What

  • Add meta.wecom.licenseCapacity with a default value of 0.
  • Update the pro submodule to purchase only the missing capacity.
  • Keep capacity unchanged when switching between Basic and Advanced plans.

Related PR

Verification

  • pnpm --filter @fastgpt/admin test test/service/support/wecom/license/utils.test.ts
  • pnpm --filter @fastgpt/admin typecheck
  • TeamMetaSchema default-value runtime check
  • Prettier and git diff checks

@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 18.27% 1618 / 8856
🔵 Statements 18.26% 1699 / 9301
🔵 Functions 16.16% 341 / 2109
🔵 Branches 14.86% 747 / 5026
File CoverageNo changed files found.
Generated in workflow #1375 for commit 31edaec by the Vitest Coverage Report Action

@github-actions

Copy link
Copy Markdown

Admin Preview Image Ready!

ghcr.io/labring/fastgpt-pr:admin_31edaec210cb861320f9337a7a40e11ac8ab30c6

🕒 Time: 2026-07-10 18:02:16 (UTC+8)

@github-actions

Copy link
Copy Markdown

Build Successful - Preview fastgpt Image for this PR:

ghcr.io/labring/fastgpt-pr:fastgpt_31edaec210cb861320f9337a7a40e11ac8ab30c6

🕒 Time: 2026-07-10 18:04:09 (UTC+8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant