This commit is contained in:
gazebo
2019-05-27 16:29:33 +08:00
parent 1e0a4f463b
commit 93a293b76b

View File

@@ -11,7 +11,6 @@ import (
"unicode/utf8" "unicode/utf8"
"git.rosy.net.cn/baseapi" "git.rosy.net.cn/baseapi"
"git.rosy.net.cn/baseapi/utils"
uuid "github.com/satori/go.uuid" uuid "github.com/satori/go.uuid"
) )
@@ -106,7 +105,7 @@ func GetAPIOperator(userName string) string {
if userName != "" { if userName != "" {
retVal += "-" + userName retVal += "-" + userName
} }
retVal = utils.LimitUTF8StringLen(retVal, 50) retVal = LimitUTF8StringLen(retVal, 50)
return retVal return retVal
} }