From 01a7f4ab2d1e3e46fef30d0e153ca20a8bc9fc61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=8F=E8=B1=AA?= <2443753184@qq.com> Date: Fri, 11 Sep 2026 17:51:23 +0800 Subject: [PATCH] =?UTF-8?q?feat(backend):=20=E8=B0=83=E6=95=B4=E8=AF=BE?= =?UTF-8?q?=E7=A8=8B=E6=97=A5=E6=9C=9F=E4=B8=BA=E5=91=A8=E6=97=A5=E5=B9=B6?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AE=A1=E5=88=92=E6=8F=90=E4=BA=A4=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E7=AA=97=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将上课日从周六调整为周日,新增 CLASS_WEEKDAY 常量 - 更新 get_class_date 和 get_sunday_of_week 函数以支持周日计算 - 修改 generate_week_list 函数生成周日日期而非周六日期 - 重构月计划和年计划的时间窗口逻辑,增加提前提交功能 - 新增 monthly_window 和 yearly_window 函数定义准确的提交窗口期 - 调整默认周期选择逻辑,支持跨月年的时间窗口 - 添加 period_labels 字段提供前端周期标签显示 - 移除旧的 _validate_current_period 函数 - 完善计划提交验证逻辑,支持多种时间周期类型 chore(miniapp): 更新小程序项目配置 - 补充 project.config.json 中的设置选项 - 调整 project.private.config.json 配置结构 - 移除冗余的页面调试条件配置 - 更新编辑器和编译相关配置项 --- project.config.json | 24 +++++++++++++-- project.private.config.json | 61 +++++++++++-------------------------- 2 files changed, 39 insertions(+), 46 deletions(-) diff --git a/project.config.json b/project.config.json index e5dff91..b46598f 100644 --- a/project.config.json +++ b/project.config.json @@ -1,18 +1,36 @@ { "description": "明缘云道场", "packOptions": { - "ignore": [] + "ignore": [], + "include": [] }, "setting": { "urlCheck": true, "es6": true, "enhance": true, "postcss": true, - "minified": true + "minified": true, + "compileWorklet": false, + "uglifyFileName": false, + "uploadWithSourceMap": true, + "packNpmManually": false, + "packNpmRelationList": [], + "minifyWXSS": true, + "minifyWXML": true, + "localPlugins": false, + "disableUseStrict": false, + "useCompilerPlugins": false, + "condition": false, + "babelSetting": { + "ignore": [], + "disablePlugins": [], + "outputPath": "" + } }, "compileType": "miniprogram", "libVersion": "3.0.0", "appid": "wx0f576e94afa52e1a", "projectname": "mingyuan-clock", - "simulatorPluginLibVersion": {} + "simulatorPluginLibVersion": {}, + "editorSetting": {} } \ No newline at end of file diff --git a/project.private.config.json b/project.private.config.json index 3e4597d..f7e6a77 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -1,47 +1,22 @@ { - "condition": { - "miniprogram": { - "list": [ - { - "name": "pages/webview/webview", - "pathName": "pages/webview/webview", - "query": "", - "scene": null, - "launchMode": "default" - }, - { - "name": "pages/profile/profile", - "pathName": "pages/profile/profile", - "query": "", - "launchMode": "default", - "scene": null - }, - { - "name": "pages/plan/plan", - "pathName": "pages/plan/plan", - "query": "", - "launchMode": "default", - "scene": null - }, - { - "name": "pages/checkin/checkin", - "pathName": "pages/checkin/checkin", - "query": "", - "launchMode": "default", - "scene": null - }, - { - "name": "pages/home/home", - "pathName": "pages/home/home", - "query": "", - "launchMode": "default", - "scene": null - } - ] - } - }, + "condition": {}, "setting": { - "urlCheck": false + "urlCheck": false, + "coverView": false, + "lazyloadPlaceholderEnable": false, + "skylineRenderEnable": false, + "preloadBackgroundData": false, + "autoAudits": false, + "useApiHook": true, + "showShadowRootInWxmlPanel": false, + "useStaticServer": false, + "useLanDebug": false, + "showES6CompileOption": false, + "compileHotReLoad": true, + "checkInvalidKey": true, + "ignoreDevUnusedFiles": true, + "bigPackageSizeSupport": false }, - "libVersion": "3.16.2" + "libVersion": "3.16.2", + "projectname": "mingyuan-clock" } \ No newline at end of file