打印起始时间

This commit is contained in:
Rosy-zhudan
2019-07-30 16:05:35 +08:00
parent 7db71c3c05
commit ae41c23bf6

View File

@@ -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)
}