fix: update instance center of ai

This commit is contained in:
qiwang 2024-10-09 09:46:55 +08:00
parent c005b8ab9c
commit c12484bf2e
2 changed files with 4 additions and 4 deletions

View File

@ -35,8 +35,8 @@ type (
/******************image inference*************************/ /******************image inference*************************/
/******************instance center*************************/ /******************instance center*************************/
InstanceCenterReq{ InstanceCenterReq{
InstanceType int32 `json:"instance_type"` InstanceType int32 `form:"instance_type"`
InstanceClass string `json:"instance_class"` InstanceClass string `form:"instance_class,optional"`
} }
InstanceCenterResp { InstanceCenterResp {
InstanceCenterList []InstanceCenterList `json:"instanceCenterList" copier:"InstanceCenterList"` InstanceCenterList []InstanceCenterList `json:"instanceCenterList" copier:"InstanceCenterList"`

View File

@ -3666,8 +3666,8 @@ type InstanceCenterList struct {
} }
type InstanceCenterReq struct { type InstanceCenterReq struct {
InstanceType int32 `json:"instance_type"` InstanceType int32 `form:"instance_type"`
InstanceClass string `json:"instance_class"` InstanceClass string `form:"instance_class,optional"`
} }
type InstanceCenterResp struct { type InstanceCenterResp struct {