Compare commits

..

4 Commits
v1.0.1 ... main

Author SHA1 Message Date
李东云
c6464880c4 chore(release): 1.0.3 2025-11-25 17:24:21 +08:00
李东云
29ad0ab1c9 chore(deps): 更新 roave/dont 依赖版本约束
- 将 roave/dont 的版本约束从 ^1.6.0 更改为 *
- 添加了两个新的 PhpSpecSuiteConfiguration 配置块到 .idea/phpspec.xml 文件中

Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
2025-11-25 17:24:09 +08:00
李东云
d1702f7726 chore(release): 1.0.2 2025-09-26 16:21:29 +08:00
李东云
45824755c6 fix(constants):修复业务错误默认消息拼写错误
- 将 'defaul' 更正为 'default'
- 修复 CommonErrorCode.php 中的拼写错误
- 确保错误消息显示正确

Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
2025-09-26 16:17:33 +08:00
5 changed files with 19 additions and 4 deletions

6
.idea/phpspec.xml generated
View File

@@ -5,6 +5,12 @@
<PhpSpecSuiteConfiguration> <PhpSpecSuiteConfiguration>
<option name="myPath" value="$PROJECT_DIR$" /> <option name="myPath" value="$PROJECT_DIR$" />
</PhpSpecSuiteConfiguration> </PhpSpecSuiteConfiguration>
<PhpSpecSuiteConfiguration>
<option name="myPath" value="$PROJECT_DIR$" />
</PhpSpecSuiteConfiguration>
<PhpSpecSuiteConfiguration>
<option name="myPath" value="$PROJECT_DIR$" />
</PhpSpecSuiteConfiguration>
</suites> </suites>
</component> </component>
</project> </project>

View File

@@ -1,4 +1,13 @@
# 版本更新日志 # 版本更新日志
### [1.0.3](http://124.126.16.154:8888/singularity/HyperfDevelopmentKitCore/compare/v1.0.2...v1.0.3) (2025-11-25)
### 🚀 Chore | 构建/工程依赖/工具
* **deps:** 更新 roave/dont 依赖版本约束 ([29ad0ab](http://124.126.16.154:8888/singularity/HyperfDevelopmentKitCore/commit/29ad0ab1c9c7bd8a634505a390efda82d954a929))
### [1.0.2](http://124.126.16.154:8888/singularity/HyperfDevelopmentKitCore/compare/v1.0.1...v1.0.2) (2025-09-26)
### [1.0.1](http://124.126.16.154:8888/singularity/HyperfDevelopmentKitCore/compare/v1.0.0...v1.0.1) (2025-08-19) ### [1.0.1](http://124.126.16.154:8888/singularity/HyperfDevelopmentKitCore/compare/v1.0.0...v1.0.1) (2025-08-19)

View File

@@ -1 +1 @@
1.0.1 1.0.3

View File

@@ -38,7 +38,7 @@
"jetbrains/phpstorm-attributes": "^1.0", "jetbrains/phpstorm-attributes": "^1.0",
"lmc/http-constants": "^1.2.0", "lmc/http-constants": "^1.2.0",
"myclabs/php-enum": "^1.8.4", "myclabs/php-enum": "^1.8.4",
"roave/dont": "^1.6.0", "roave/dont": "*",
"symfony/http-foundation": "^6.4", "symfony/http-foundation": "^6.4",
"symfony/polyfill-php81": "^1.28", "symfony/polyfill-php81": "^1.28",
"symfony/polyfill-php82": "^1.28", "symfony/polyfill-php82": "^1.28",
@@ -136,5 +136,5 @@
"url": "https://mirrors.aliyun.com/composer/" "url": "https://mirrors.aliyun.com/composer/"
} }
}, },
"version": "1.0.1" "version": "1.0.3"
} }

View File

@@ -323,7 +323,7 @@ class CommonErrorCode extends AbstractConstants
// 500 业务错误 // 500 业务错误
#[Message('common_error.business.defaul')] #[Message('common_error.business.default')]
public const BUSINESS_ERROR = 500001; public const BUSINESS_ERROR = 500001;
// 501 版本问题 // 501 版本问题
#[Message('common_error.business.old_version')] #[Message('common_error.business.old_version')]