mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-05-13 23:22:10 +08:00
【新增】对象存储
This commit is contained in:
14
base/utils/ddm.go
Normal file
14
base/utils/ddm.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package utils
|
||||
|
||||
/**
|
||||
* @Description 添加qq群467890197 交流学习
|
||||
* @Author 熊猫
|
||||
* @Date 2022/1/13 17:16
|
||||
**/
|
||||
|
||||
func Ddm(data string) string {
|
||||
if len(data) < 6 {
|
||||
return data
|
||||
}
|
||||
return data[:3] + "****" + data[len(data)-3:]
|
||||
}
|
||||
Reference in New Issue
Block a user