feat: 统一字段命名风格,使用下划线格式替代驼峰式命名
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
package dto
|
||||
|
||||
type OrderCreateForm struct {
|
||||
ContentID string `json:"contentId"`
|
||||
ContentID string `json:"content_id"`
|
||||
Sku string `json:"sku"`
|
||||
Quantity int `json:"quantity"`
|
||||
}
|
||||
|
||||
type OrderCreateResponse struct {
|
||||
OrderID string `json:"orderId"`
|
||||
OrderID string `json:"order_id"`
|
||||
}
|
||||
|
||||
type OrderPayForm struct {
|
||||
@@ -15,7 +15,7 @@ type OrderPayForm struct {
|
||||
}
|
||||
|
||||
type OrderPayResponse struct {
|
||||
PayParams string `json:"payParams"`
|
||||
PayParams string `json:"pay_params"`
|
||||
}
|
||||
|
||||
type OrderStatusResponse struct {
|
||||
|
||||
Reference in New Issue
Block a user