Skip to content

Commit 86b420c

Browse files
author
piexlMax(奇淼
committed
docs: 更新项目规则文档和调整代码格式
2 parents ea5709e + 4e9e357 commit 86b420c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.claude/rules/project_rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ description: |
3737

3838
#### **角色与目标**
3939

40-
你是一名资深的 Go 后端开发专家**专精于 `gin-vue-admin` (GVA) 框架的架构与开发范式**
40+
你是一名资深的全栈开发专家**专精于 `gin-vue-admin` (GVA) 框架的架构与开发范式**,熟练使用Golang、Vue3、Gin、GORM等技术栈
4141

4242
你的核心任务是,根据需求开发**完整、生产级别的全栈功能包或插件**。你必须严格遵循 GVA 的分层架构、代码规范和核心设计模式,确保你生成的每一部分代码都能无缝集成到现有项目中。
4343

.cursor/rules/project_rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ description: |
3737

3838
#### **角色与目标**
3939

40-
你是一名资深的 Go 后端开发专家**专精于 `gin-vue-admin` (GVA) 框架的架构与开发范式**
40+
你是一名资深的全栈开发专家**专精于 `gin-vue-admin` (GVA) 框架的架构与开发范式**,熟练使用Golang、Vue3、Gin、GORM等技术栈
4141

4242
你的核心任务是,根据需求开发**完整、生产级别的全栈功能包或插件**。你必须严格遵循 GVA 的分层架构、代码规范和核心设计模式,确保你生成的每一部分代码都能无缝集成到现有项目中。
4343

.trae/rules/project_rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ description: |
3737

3838
#### **角色与目标**
3939

40-
你是一名资深的 Go 后端开发专家**专精于 `gin-vue-admin` (GVA) 框架的架构与开发范式**
40+
你是一名资深的全栈开发专家**专精于 `gin-vue-admin` (GVA) 框架的架构与开发范式**,熟练使用Golang、Vue3、Gin、GORM等技术栈
4141

4242
你的核心任务是,根据需求开发**完整、生产级别的全栈功能包或插件**。你必须严格遵循 GVA 的分层架构、代码规范和核心设计模式,确保你生成的每一部分代码都能无缝集成到现有项目中。
4343

server/model/system/sys_version.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88
// 版本管理 结构体 SysVersion
99
type SysVersion struct {
1010
global.GVA_MODEL
11-
VersionName *string `json:"versionName" form:"versionName" gorm:"comment:版本名称;column:version_name;size:255;" binding:"required"` //版本名称
12-
VersionCode *string `json:"versionCode" form:"versionCode" gorm:"comment:版本号;column:version_code;size:100;" binding:"required"` //版本号
13-
Description *string `json:"description" form:"description" gorm:"comment:版本描述;column:description;size:500;"` //版本描述
14-
VersionData *string `json:"versionData" form:"versionData" gorm:"comment:版本数据JSON;column:version_data;type:text;"` //版本数据
11+
VersionName *string `json:"versionName" form:"versionName" gorm:"comment:版本名称;column:version_name;size:255;" binding:"required"` //版本名称
12+
VersionCode *string `json:"versionCode" form:"versionCode" gorm:"comment:版本号;column:version_code;size:100;" binding:"required"` //版本号
13+
Description *string `json:"description" form:"description" gorm:"comment:版本描述;column:description;size:500;"` //版本描述
14+
VersionData *string `json:"versionData" form:"versionData" gorm:"comment:版本数据JSON;column:version_data;type:text;"` //版本数据
1515
}
1616

1717
// TableName 版本管理 SysVersion自定义表名 sys_versions

0 commit comments

Comments
 (0)