- 修复QueryActs中vendorID缺省为0的BUG
This commit is contained in:
@@ -138,6 +138,9 @@ func (c *ActController) QueryActs() {
|
||||
if err == nil {
|
||||
var typeList, statusList []int
|
||||
if err = jxutils.Strings2Objs(params.TypeList, &typeList, params.StatusList, &statusList); err == nil {
|
||||
if params.MapData["vendorID"] == nil {
|
||||
params.VendorID = -1
|
||||
}
|
||||
retVal, err = act.QueryActs(params.Ctx, params.ActID, params.Offset, params.PageSize, params.Keyword, params.VendorID, statusList, typeList,
|
||||
params.StoreID, params.SkuID, params.CityCode, timeList[2], timeList[3], timeList[0], timeList[1])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user