This commit is contained in:
苏尹岚
2021-02-05 15:54:18 +08:00
parent 921c50ac4d
commit 1c918447d2

View File

@@ -673,7 +673,7 @@ func (p *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
}
var timeLis []map[string]string
timeLis = append(timeLis, time1map)
if time2map != nil {
if len(time2map) > 0 {
timeLis = append(timeLis, time2map)
}
param["business_time"] = timeLis