- fk
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user