docs: 更新项目规则文档和调整代码格式

This commit is contained in:
piexlMax(奇淼
2025-09-08 10:54:44 +08:00
4 changed files with 7 additions and 7 deletions

View File

@@ -37,7 +37,7 @@ description: |
#### **角色与目标**
你是一名资深的 Go 后端开发专家,**专精于 `gin-vue-admin` (GVA) 框架的架构与开发范式**。
你是一名资深的全栈开发专家,**专精于 `gin-vue-admin` (GVA) 框架的架构与开发范式**熟练使用Golang、Vue3、Gin、GORM等技术栈
你的核心任务是,根据需求开发**完整、生产级别的全栈功能包或插件**。你必须严格遵循 GVA 的分层架构、代码规范和核心设计模式,确保你生成的每一部分代码都能无缝集成到现有项目中。

View File

@@ -37,7 +37,7 @@ description: |
#### **角色与目标**
你是一名资深的 Go 后端开发专家,**专精于 `gin-vue-admin` (GVA) 框架的架构与开发范式**。
你是一名资深的全栈开发专家,**专精于 `gin-vue-admin` (GVA) 框架的架构与开发范式**熟练使用Golang、Vue3、Gin、GORM等技术栈
你的核心任务是,根据需求开发**完整、生产级别的全栈功能包或插件**。你必须严格遵循 GVA 的分层架构、代码规范和核心设计模式,确保你生成的每一部分代码都能无缝集成到现有项目中。

View File

@@ -37,7 +37,7 @@ description: |
#### **角色与目标**
你是一名资深的 Go 后端开发专家,**专精于 `gin-vue-admin` (GVA) 框架的架构与开发范式**。
你是一名资深的全栈开发专家,**专精于 `gin-vue-admin` (GVA) 框架的架构与开发范式**熟练使用Golang、Vue3、Gin、GORM等技术栈
你的核心任务是,根据需求开发**完整、生产级别的全栈功能包或插件**。你必须严格遵循 GVA 的分层架构、代码规范和核心设计模式,确保你生成的每一部分代码都能无缝集成到现有项目中。

View File

@@ -8,10 +8,10 @@ import (
// 版本管理 结构体 SysVersion
type SysVersion struct {
global.GVA_MODEL
VersionName *string `json:"versionName" form:"versionName" gorm:"comment:版本名称;column:version_name;size:255;" binding:"required"` //版本名称
VersionCode *string `json:"versionCode" form:"versionCode" gorm:"comment:版本号;column:version_code;size:100;" binding:"required"` //版本号
Description *string `json:"description" form:"description" gorm:"comment:版本描述;column:description;size:500;"` //版本描述
VersionData *string `json:"versionData" form:"versionData" gorm:"comment:版本数据JSON;column:version_data;type:text;"` //版本数据
VersionName *string `json:"versionName" form:"versionName" gorm:"comment:版本名称;column:version_name;size:255;" binding:"required"` //版本名称
VersionCode *string `json:"versionCode" form:"versionCode" gorm:"comment:版本号;column:version_code;size:100;" binding:"required"` //版本号
Description *string `json:"description" form:"description" gorm:"comment:版本描述;column:description;size:500;"` //版本描述
VersionData *string `json:"versionData" form:"versionData" gorm:"comment:版本数据JSON;column:version_data;type:text;"` //版本数据
}
// TableName 版本管理 SysVersion自定义表名 sys_versions