feat(distribution): 支持分站发布群固定二维码

主站分销配置可为每个站点绑定可复用企微码,号主在该站上传账号后发到对应发布群,不再消耗主站码池。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
yml2213
2026-09-15 19:02:10 +08:00
co-authored by Cursor
parent 776c33f83c
commit 1c86bef765
9 changed files with 397 additions and 16 deletions
@@ -0,0 +1,10 @@
-- +goose Up
-- 分销站点发布群固定二维码:号主在该站上传账号时发到对应发布群,可重复使用,不消耗主站二维码池。
ALTER TABLE distribution_sites
ADD COLUMN listing_qrcode_url VARCHAR(512) NOT NULL DEFAULT '' COMMENT '分站发布群固定企微二维码';
-- +goose Down
ALTER TABLE distribution_sites
DROP COLUMN listing_qrcode_url;