Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: yangweijie/typephp-think
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: Tinywan/tinywan-typephp-thinkphp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 10 files changed
  • 1 contributor

Commits on Aug 27, 2026

  1. feat(build): 添加一键编译打包脚本和相关部署支持

    - 新增 package.bat 实现自动源码编译、依赖收集及独立绿色发布包组装
    - 更新 .gitignore 包含 dist 目录和忽略生成产物
    - 调整 build_env.bat 移除冗余日志重定向,优化编译流程
    - 修改项目配置文件及 README,统一输出目录为 build/typephp-server
    - 更新路由配置,新增 api/v1/musics 接口示例
    - 代码中添加函数返回类型声明,规范代码风格
    - 修改启动脚本 run_env.bat,确保正确调用 typephp-server.exe
    - README 文档中完善环境搭建、启动说明及常见问题修复方案
    Tinywan
    Tinywan committed Aug 27, 2026
    Configuration menu
    Copy the full SHA
    ddd215a View commit details
    Browse the repository at this point in the history
  2. fix(package): 修复构建脚本兼容不同可执行文件名的问题

    - 修改批处理脚本,支持识别和处理 typephp-server.exe 和 typephp_server.exe 两种可执行文件名
    - 在拷贝步骤中添加条件判断,分别复制不同命名的可执行文件
    - 更新错误提示,涵盖两种可执行文件名缺失的情况
    - 在路由配置中调整音乐接口路由路径
    - 添加环境配置文件,开启应用调试模式
    Tinywan
    Tinywan committed Aug 27, 2026
    Configuration menu
    Copy the full SHA
    98b3764 View commit details
    Browse the repository at this point in the history
  3. fix(main): 修复自动加载文件引入逻辑错误

    - 修改判断条件,确保只有在自动加载文件存在时才引入
    - 删除了错误的require调用,避免重复或错误加载
    - 优化代码逻辑,提升程序启动的稳定性和可维护性
    Tinywan
    Tinywan committed Aug 27, 2026
    Configuration menu
    Copy the full SHA
    d4919b4 View commit details
    Browse the repository at this point in the history
Loading