【新增】代码优化

This commit is contained in:
PandaGoAdmin
2022-01-17 17:12:33 +08:00
parent 6af74ab1ba
commit 692e383f3e
10 changed files with 96 additions and 24 deletions

26
base/utils/ddm_test.go Normal file
View File

@@ -0,0 +1,26 @@
package utils
import (
"testing"
)
/**
* @Description 添加qq群467890197 交流学习
* @Author 熊猫
* @Date 2022/1/17 10:01
**/
func TestDdmKey(t *testing.T) {
aa := "fsdfsf535343sdfsdf3"
bb := "23423423@qq.com"
key := DdmKey(aa)
t.Log(key)
ddmKey := IsDdmKey(key)
t.Log(ddmKey)
mail := DdmMail(bb)
t.Log(mail)
ismail := ISDdmMail(mail)
t.Log(ismail)
}