daShangDao_planA/planB/tool/log.go

13 lines
416 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package tool
import (
"planA/planB/initialization/golabl"
)
func SteLog(msg string) string {
platform := GetPlatformName()
taskTypeName := GetTaskType()
log := "[任务id" + golabl.Task.TaskId + "]" + "[店铺id" + golabl.Task.Header.ShopId + "]" + "[店铺名称:" + golabl.Task.Header.ShopName + "]" + "[店铺类型:" + platform + "]" + "[任务类型:" + taskTypeName + "]"
return log + msg
}