fix ListInstanceCenter

Signed-off-by: jagger <cossjie@foxmail.com>
This commit is contained in:
jagger 2025-06-09 16:30:12 +08:00
parent 9aa8172925
commit 3d6bb2aeee
2 changed files with 6 additions and 0 deletions

View File

@ -203,6 +203,11 @@ service pcm {
@doc "删除资源规格"
@handler deleteResourceSpecHandler
delete /core/ai/resourceSpec/delete/:id (DeletePathId) returns (CommonResp)
// @doc "获取任务"
// @handler getResourceRange
// get /core/ai/resourceSpec/range (ResourceRangeReq) returns (ResourceRangeResp)
//集群资源规格----- 结束
}

View File

@ -37,6 +37,7 @@ type (
HpcInstanceCenter struct {
Id int64 `db:"id" json:"id"` // 平台唯一id
App string `db:"app" json:"app"` // 应用名称
LogoPath string `db:"logo_path" json:"logoPath"` // logo图像的位置
InstanceName string `db:"instance_name" json:"instanceName"` // 实例名称
InstanceType int64 `db:"instance_type" json:"instanceType"` // 实例类型1是应用实例2是模型实例