feat: change mobile field to username

This commit is contained in:
RockYang
2024-01-08 17:34:09 +08:00
parent 913d538587
commit 4c1f51110b
6 changed files with 12 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ type Order struct {
BaseModel
UserId uint
ProductId uint
Mobile string
Username string
OrderNo string
Subject string
Amount float64

View File

@@ -8,7 +8,7 @@ type Order struct {
BaseVo
UserId uint `json:"user_id"`
ProductId uint `json:"product_id"`
Mobile string `json:"mobile"`
Username string `json:"username"`
OrderNo string `json:"order_no"`
Subject string `json:"subject"`
Amount float64 `json:"amount"`