Merge remote-tracking branch 'origin/mark' into su
This commit is contained in:
@@ -88,6 +88,7 @@ type StoreSkuNameExt struct {
|
|||||||
StoreName string `json:"storeName"`
|
StoreName string `json:"storeName"`
|
||||||
|
|
||||||
model.SkuName
|
model.SkuName
|
||||||
|
PayPercentage int `json:"-"`
|
||||||
UnitPrice int `json:"unitPrice"`
|
UnitPrice int `json:"unitPrice"`
|
||||||
Skus []map[string]interface{} `orm:"-" json:"skus2,omitempty"`
|
Skus []map[string]interface{} `orm:"-" json:"skus2,omitempty"`
|
||||||
Skus2 []*StoreSkuExt `orm:"-" json:"skus,omitempty"`
|
Skus2 []*StoreSkuExt `orm:"-" json:"skus,omitempty"`
|
||||||
@@ -95,8 +96,6 @@ type StoreSkuNameExt struct {
|
|||||||
|
|
||||||
PendingOpType int8 `json:"pendingOpType"` // 取值同 StoreOpRequest.Type
|
PendingOpType int8 `json:"pendingOpType"` // 取值同 StoreOpRequest.Type
|
||||||
PendingUnitPrice int `json:"pendingUnitPrice"` // 这个是待审核的价格申请
|
PendingUnitPrice int `json:"pendingUnitPrice"` // 这个是待审核的价格申请
|
||||||
|
|
||||||
PayPercentage int `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetStoreSkus用
|
// GetStoreSkus用
|
||||||
@@ -167,6 +166,7 @@ type tGetStoresSkusInfo struct {
|
|||||||
StoreName string
|
StoreName string
|
||||||
|
|
||||||
model.SkuName
|
model.SkuName
|
||||||
|
PayPercentage int `json:"-"`
|
||||||
StoreSkuExt
|
StoreSkuExt
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -473,6 +473,7 @@ func GetStoresSkusNew(ctx *jxcontext.Context, storeIDs, skuIDs []int, isFocus bo
|
|||||||
StoreName: v.StoreName,
|
StoreName: v.StoreName,
|
||||||
SkuName: v.SkuName,
|
SkuName: v.SkuName,
|
||||||
UnitPrice: v.UnitPrice,
|
UnitPrice: v.UnitPrice,
|
||||||
|
PayPercentage: v.PayPercentage,
|
||||||
}
|
}
|
||||||
if !isBySku {
|
if !isBySku {
|
||||||
storeNameMap[index] = storeName
|
storeNameMap[index] = storeName
|
||||||
|
|||||||
Reference in New Issue
Block a user