feat(wechat): add service-account push subscriptions and news morning cover delivery
Memind CI / Test, build, and release guards (push) Successful in 5m36s
Memind CI / Test, build, and release guards (push) Successful in 5m36s
Ship the 10-item numeric subscription loop on WeChat MP, wire schedule delivery for news/weather/quote/health/finance/tech/knowledge/night/surprise pushes, and extend news morning draft cover generation plus a one-shot draft push script. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -116,6 +116,8 @@ export async function bootstrapPortalDomainServices({
|
||||
const scheduleService = createScheduleServiceFn(pool, {
|
||||
defaultTimezone:
|
||||
env.H5_DEFAULT_TIMEZONE || 'Asia/Shanghai',
|
||||
h5Root,
|
||||
env,
|
||||
});
|
||||
const scheduledTaskService = createScheduledTaskServiceFn(pool, {
|
||||
defaultTimezone:
|
||||
|
||||
@@ -52,6 +52,7 @@ export async function bootstrapPortalIntegrationServices({
|
||||
mindSpacePages,
|
||||
mindSpacePageLiveEdit,
|
||||
syncUserGeneratedPages = null,
|
||||
mindSpaceImageGeneration = null,
|
||||
logger = console,
|
||||
healthChannelStore = null,
|
||||
healthObservationStore = null,
|
||||
@@ -377,7 +378,9 @@ export async function bootstrapPortalIntegrationServices({
|
||||
mpConfig: wechatMpConfig,
|
||||
h5Root,
|
||||
memindLibRoot: codeRoot || h5Root,
|
||||
imageGenerationService: mindSpaceImageGeneration,
|
||||
env,
|
||||
logger,
|
||||
});
|
||||
|
||||
let wechatNewsMorningDraftWorker = null;
|
||||
|
||||
Reference in New Issue
Block a user