- 去掉ebai.GetAllRemoteSkus中一个冗长的调度输出
- BaseTask marshal时忽略Result
This commit is contained in:
@@ -99,7 +99,7 @@ type BaseTask struct {
|
||||
FailedJobCount int `json:"failedJobCount"`
|
||||
Status int `json:"status"`
|
||||
|
||||
Result []interface{} `json:"result"`
|
||||
Result []interface{} `json:"-"`
|
||||
Children TaskList `json:"children"`
|
||||
Err error `json:"err"`
|
||||
|
||||
|
||||
@@ -301,7 +301,7 @@ func (p *PurchaseHandler) GetAllRemoteSkus(ctx *jxcontext.Context, storeID int,
|
||||
if err2 == nil {
|
||||
return pageSku.List, err2
|
||||
}
|
||||
globals.SugarLogger.Debug(utils.Format4Output(callParams, false))
|
||||
// globals.SugarLogger.Debug(utils.Format4Output(callParams, false))
|
||||
return nil, err2
|
||||
}, pages)
|
||||
tasksch.HandleTask(task, parentTask, false).Run()
|
||||
|
||||
Reference in New Issue
Block a user