- fixed bug in GetStoreVendorMaps
This commit is contained in:
@@ -168,7 +168,10 @@ func (c *StoreController) ZZZZZ() {
|
||||
// @router /GetStoreVendorMaps [get]
|
||||
func (c *StoreController) GetStoreVendorMaps() {
|
||||
c.callGetStoreVendorMaps(func(params *tStoreGetStoreVendorMapsParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = cms.GetStoreVendorMaps(nil, params.StoreID)
|
||||
if c.GetString("vendorID") == "" {
|
||||
params.VendorID = -1
|
||||
}
|
||||
retVal, err = cms.GetStoreVendorMaps(nil, params.StoreID, params.VendorID)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user