Skip to content

Commit

Permalink
fix get default property
Browse files Browse the repository at this point in the history
  • Loading branch information
bxy4543 committed Sep 25, 2024
1 parent 7b025ae commit 5e4b22a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions service/account/common/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package common
import "time"

type PropertyQuery struct {
Name string `json:"name,omitempty" bson:"name,omitempty" example:"cpu"`
Name string `json:"name" bson:"name" example:"cpu"`
Alias string `json:"alias,omitempty" bson:"alias,omitempty" example:"gpu-tesla-v100"`
UnitPrice float64 `json:"unit_price,omitempty" bson:"unit_price,omitempty" example:"10000"`
Unit string `json:"unit,omitempty" bson:"unit,omitempty" example:"1m"`
UnitPrice float64 `json:"unit_price" bson:"unit_price" example:"10000"`
Unit string `json:"unit" bson:"unit" example:"1m"`
}

type TimeCostsMap [][]interface{}
Expand Down

0 comments on commit 5e4b22a

Please sign in to comment.