fix: update instance center of ai
This commit is contained in:
parent
c005b8ab9c
commit
c12484bf2e
|
@ -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"`
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue