Before triggering setSignIntegral, fetch the random required article;
when one is returned, show a fullscreen overlay with title, image, and
rich-text content (loaded via getArticleDetails) plus a 10s countdown
gating the confirm button. Falls through to direct sign-in when the
endpoint returns null or fails.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
GET /api/sign/required_article returns one random article from the
"签到广告" article category (status=1, is_del=0, hidden=0). Empty
category or no articles returns null so clients can fall through to
direct sign-in. Powers the pre-sign-in reading gate per
docs/project-shaoyaoju/prd-require.md §6.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Replace bash 4.2+ printf %(...)T with date subshell so script runs on
the macOS-default bash 3.2.
- Add SSH_PASS_FILE / SSH_PASSWORD support via sshpass for environments
where password auth is the only path.
- After admin npm build, rsync view/admin/dist/ into public/admin/
(preserving UEditor and favicon) so the project rsync ships the
admin to the path nginx actually serves from.
- Simplify rsync exclude list to drop view/admin/ wholesale.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Strip CRMEB/crmeb from user-visible copy on auth, kefu, supplier login,
setting guides, storage docs, mobile page mocks, and system maintain
file editor. Replace external crmeb.com URLs with syj.fsgx.cn (sms
console iframe and license-protected file headers/comments left
untouched). Default brand_name on wechat membership card switches to
"芍药居".
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The admin auth page rendered the raw version string from the .version
file (e.g. "CRMEB-PRO v3.5.1"); strip the vendor brand prefix at the
controller boundary so display matches the rebranded UI without
touching internal version detection.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Re-init eb_agent_level (4 tiers: 普通会员/业务主管/业务经理/业务总监)
and eb_agent_level_task (3 upgrade tasks: 直推 3 / 团队 30 单 / 团队
100 单) based on docs/project-shaoyaoju/prd-require.md §7.2.
TRUNCATE-based; orphan cleanup of eb_agent_level_task_record left
commented for the operator to opt in.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
One-shot release pipeline for syj-shop variant: admin build -> rsync to
8.140.50.89 -> remote .env switch + cache clear + Swoole reload ->
healthcheck with auto-rollback on failure. Includes operations manual
under docs/project-syj/.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Support filtering by queue goods in admin product lists and correct product create-time range query to use add_time. Also update README default admin account note and restore app auth key config reference.
Made-with: Cursor