mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-09 09:49:33 +08:00
feat: 新增按控件点击,获取设备应用,修改日志获取
This commit is contained in:
@@ -483,3 +483,10 @@ func ConvertToStringSlice(val interface{}) ([]string, error) {
|
||||
}
|
||||
return nil, fmt.Errorf("invalid type for conversion to []string")
|
||||
}
|
||||
|
||||
func GetCurrentDay() string {
|
||||
now := time.Now()
|
||||
// 格式化日期为 yyyyMMdd
|
||||
formattedDate := now.Format("20060102")
|
||||
return formattedDate
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user