Documentation
¶
Index ¶
- type AddAuthReq
- type AddAuthResp
- type AddProductsReq
- type AddProductsResp
- type AddRecordReq
- type AddRecordResp
- type AddStoresReq
- type AddStoresResp
- type AddUsersReq
- type AddUsersResp
- type DeleteProductsReq
- type DeleteProductsResp
- type DeleteStoresReq
- type DeleteStoresResp
- type DeleteUsersReq
- type DeleteUsersResp
- type GetBasicReq
- type GetBasicResp
- type GetProductsByPageReq
- type GetProductsReq
- type GetProductsResp
- type GetRecommendReq
- type GetRecommendResp
- type GetRecordsReq
- type GetRecordsResp
- type GetStoresByPageReq
- type GetStoresReq
- type GetStoresResp
- type GetUsersByPageReq
- type GetUsersReq
- type GetUsersResp
- type StdResp
- type UpdateProductsReq
- type UpdateProductsResp
- type UpdateStoresReq
- type UpdateStoresResp
- type UpdateUsersReq
- type UpdateUsersResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAuthReq ¶
type AddAuthResp ¶
type AddAuthResp struct {
StdResp
}
type AddProductsReq ¶
type AddProductsReq struct {
StoreID string `json:"store_id" bson:"store_id"`
Name string `json:"item_name" bson:"item_name"`
Price float64 `json:"item_price" bson:"item_price"`
Score float64 `json:"item_score" bson:"item_score"`
SaleCount int `json:"item_salecount" bson:"item_salecount"`
Brand string `json:"item_brand" bson:"item_brand"`
}
type AddProductsResp ¶
type AddRecordReq ¶
type AddRecordResp ¶
type AddStoresReq ¶
type AddStoresResp ¶
type AddUsersReq ¶
type AddUsersResp ¶
type DeleteProductsReq ¶
type DeleteProductsReq struct {
ID string `json:"item_id" bson:"item_id"`
}
type DeleteProductsResp ¶
type DeleteStoresReq ¶
type DeleteStoresResp ¶
type DeleteUsersReq ¶
type DeleteUsersResp ¶
type GetBasicReq ¶
type GetBasicReq struct {
}
type GetBasicResp ¶
type GetProductsByPageReq ¶
type GetProductsReq ¶
type GetProductsReq struct {
StoreID string `form:"store_id"`
}
type GetProductsResp ¶
type GetRecommendReq ¶
type GetRecommendResp ¶
type GetRecordsReq ¶
type GetRecordsResp ¶
type GetStoresByPageReq ¶
type GetStoresReq ¶
type GetStoresReq struct {
StoreID int `form:"store_id"`
}
type GetStoresResp ¶
type GetUsersByPageReq ¶
type GetUsersReq ¶
type GetUsersReq struct {
UserID int `form:"user_id"`
}
type GetUsersResp ¶
type UpdateProductsReq ¶
type UpdateProductsReq struct {
ID string `json:"item_id" bson:"item_id"`
StoreID string `json:"store_id" bson:"store_id"`
Name string `json:"item_name" bson:"item_name"`
Price float64 `json:"item_price" bson:"item_price"`
Score float64 `json:"item_score" bson:"item_score"`
SaleCount int `json:"item_salecount" bson:"item_salecount"`
Brand string `json:"item_brand" bson:"item_brand"`
}
type UpdateProductsResp ¶
type UpdateStoresReq ¶
type UpdateStoresResp ¶
type UpdateUsersReq ¶
type UpdateUsersResp ¶
Click to show internal directories.
Click to hide internal directories.