- mark store sku bind as modified when change storevendor price percentage
This commit is contained in:
@@ -127,8 +127,9 @@ func (c *StoreController) GetStoreVendorMaps() {
|
||||
// @router /UpdateStoreVendorMap [put]
|
||||
func (c *StoreController) UpdateStoreVendorMap() {
|
||||
c.callUpdateStoreVendorMap(func(params *tStoreUpdateStoreVendorMapParams) (retVal interface{}, errCode string, err error) {
|
||||
storeMap := make(map[string]interface{})
|
||||
if err = utils.UnmarshalUseNumber([]byte(params.Payload), &storeMap); err == nil {
|
||||
var storeMap map[string]interface{}
|
||||
var storeMapStruct model.StoreMap
|
||||
if storeMap, err = utils.Unmarshal2Map([]byte(params.Payload), &storeMapStruct); err == nil {
|
||||
retVal, err = cms.UpdateStoreVendorMap(params.Ctx, nil, params.StoreID, params.VendorID, storeMap, params.Ctx.GetUserName())
|
||||
}
|
||||
return retVal, "", err
|
||||
|
||||
Reference in New Issue
Block a user