实验StoreSkuAct

This commit is contained in:
gazebo
2020-01-16 10:47:06 +08:00
parent b94a1dd520
commit 88748b4d99
12 changed files with 409 additions and 126 deletions

View File

@@ -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 {