打印起始时间
This commit is contained in:
@@ -61,6 +61,7 @@ func FilterSkuNameList(storeSkuNameList []*partner.SkuNameInfo) (filterStoreSkuN
|
||||
|
||||
func StartOrEndOpStore(isStart bool, startTime, endTime int16) {
|
||||
startProcessTime := time.Now().Unix()
|
||||
baseapi.SugarLogger.Debugf("StartOrEndOpStore start time: %v", time.Now())
|
||||
startOpStoreTime := startOpStoreTimeDefault
|
||||
endOpStoreTime := endOpStoreTimeDefault
|
||||
if startTime != 0 && endTime != 0 {
|
||||
@@ -118,6 +119,7 @@ func StartOrEndOpStore(isStart bool, startTime, endTime int16) {
|
||||
}
|
||||
endProcessTime := time.Now().Unix()
|
||||
diff := endProcessTime - startProcessTime
|
||||
baseapi.SugarLogger.Debugf("StartOrEndOpStore end time: %v", time.Now())
|
||||
baseapi.SugarLogger.Debugf("StartOrEndOpStore cost time: %d sec", diff)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user