- basic ebaiapi added.

This commit is contained in:
gazebo
2018-09-02 19:06:07 +08:00
parent 15d7358e90
commit 5beeab4dfa
4 changed files with 197 additions and 1 deletions

View File

@@ -77,7 +77,11 @@ func DictKeysMan(data interface{}, keysToRemove []string, keysToKeep []string) i
// 去除-号全部大写比如929ADB626EB911E893E452540009DAB3
func GetUUID() string {
return strings.ToUpper(strings.Replace(uuid.Must(uuid.NewV1()).String(), "-", "", -1))
return strings.Replace(GetUpperUUID(), "-", "", -1)
}
func GetUpperUUID() string {
return strings.ToUpper(uuid.Must(uuid.NewV1()).String())
}
func GetCurTimeStr() string {