liujiandao
2024-04-22 4d602df6dda2938cbe7079acca50978c17b35a3f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package request
 
import "wms/constvar"
 
type AddLocationProduct struct {
    LocationId        int               `json:"locationId"`        //位置id
    ProductId         string            `json:"productId"`         //产品id
    ProductCategoryId int               `json:"productCategoryId"` //产品种类id
    AreaId            int               `json:"areaId"`            //区域id
    RuleType          constvar.RuleType `json:"ruleType"`          //上架规则类型 1:产品类型;2:产品类别类型
}
 
type UpdateLocationProduct struct {
    Id                int               `json:"id"`
    LocationId        int               `json:"locationId"`        //位置id
    ProductId         string            `json:"productId"`         //产品id
    ProductCategoryId int               `json:"productCategoryId"` //产品种类id
    AreaId            int               `json:"areaId"`            //区域id
    RuleType          constvar.RuleType `json:"ruleType"`          //上架规则类型 1:产品类型;2:产品类别类型
}
 
type QueryLocationProductConditon struct {
    PageInfo
    ProductId         string `json:"productId"`         //产品id
    ProductCategoryId int    `json:"productCategoryId"` //产品种类id
}