实验StoreSkuAct
This commit is contained in:
@@ -380,9 +380,11 @@ func (t *BaseTask) GetFailedList() (failedList []interface{}) {
|
||||
}
|
||||
|
||||
func (t *BaseTask) AddFailedList(failedList ...interface{}) {
|
||||
t.locker.Lock()
|
||||
defer t.locker.Unlock()
|
||||
t.FailedList = append(t.FailedList, failedList...)
|
||||
if len(failedList) > 0 {
|
||||
t.locker.Lock()
|
||||
defer t.locker.Unlock()
|
||||
t.FailedList = append(t.FailedList, failedList...)
|
||||
}
|
||||
}
|
||||
|
||||
// func (t *BaseTask) GetDetailErrList() []error {
|
||||
|
||||
Reference in New Issue
Block a user