Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 181a5ffb4f |
@@ -5,5 +5,5 @@ type ProductPriceRequest struct {
|
||||
}
|
||||
|
||||
type ProductPriceResponse struct {
|
||||
Price float64 `json:"price"`
|
||||
Price int `json:"price"`
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package model
|
||||
|
||||
type ProductPriceModel struct {
|
||||
ID int `db:"id"`
|
||||
PID string `db:"pid"`
|
||||
Price float64 `db:"price"`
|
||||
ID int `db:"id"`
|
||||
PID string `db:"pid"`
|
||||
Price int `db:"price"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user