This commit is contained in:
邹宗楠
2022-09-30 17:16:22 +08:00
parent e2b41bf9db
commit 97c092cd26
36 changed files with 1753 additions and 1895 deletions

View File

@@ -14,17 +14,15 @@ import (
const (
// FuncGetStoreSkusBareInfo = 1 // 此接口要求实现为不限制批处理大小的
FuncUpdateStoreSkusStock = 2
FuncUpdateStoreSkusStatus = 3
FuncUpdateStoreSkusPrice = 4
FuncGetStoreSkusFullInfo = 6
FuncCreateStoreSkus = 7
FuncUpdateStoreSkus = 8
FuncDeleteStoreSkus = 9
FuncCreateActs = 10
FuncCancelActs = 11
FuncUpdateStoreSkusStock = 2 // 更新门店库存
FuncUpdateStoreSkusStatus = 3 // 更新门店状态
FuncUpdateStoreSkusPrice = 4 // 更新门店价格
FuncGetStoreSkusFullInfo = 6 // 获取门店商品完整信息
FuncCreateStoreSkus = 7 // 创建门店商品
FuncUpdateStoreSkus = 8 // 修改门店商品
FuncDeleteStoreSkus = 9 // 删除门店商品
FuncCreateActs = 10 // 创建活动
FuncCancelActs = 11 // 取消活动
)
const (
@@ -46,15 +44,17 @@ type StoreSkuInfo struct {
Seq int `json:"seq,omitempty"`
ActPrice int64 `json:"actPrice,omitempty"`
VendorActID string `json:"vendorActID,omitempty"`
IsSpecialty int `json:"isSpecialty,omitempty"`
JxPrice int64 `json:"jxPrice,omitempty"`
JxUnitPrice int64 `json:"jxUnitPrice,omitempty"`
VendorSkuID2 string `json:"vendorSkuID2,omitempty"`
JdsStockSwitch int `json:"jdsStockSwitch"`
IsDeletedBySku bool `json:"isDeletedBySku"`
VendorOrgCode string `json:"vendorOrgCode"`
ActPrice int64 `json:"actPrice,omitempty"`
VendorActID string `json:"vendorActID,omitempty"`
IsSpecialty int `json:"isSpecialty,omitempty"`
JxPrice int64 `json:"jxPrice,omitempty"`
JxUnitPrice int64 `json:"jxUnitPrice,omitempty"`
VendorSkuID2 string `json:"vendorSkuID2,omitempty"`
JdsStockSwitch int `json:"jdsStockSwitch"`
IsDeletedBySku bool `json:"isDeletedBySku"`
VendorOrgCode string `json:"vendorOrgCode"`
SpecUnit string `json:"specUnit"`
SpecQuality float32 `json:"specQuality"`
}
type StoreSkuInfoWithErr struct {