feat:完善入驻信息管理

This commit is contained in:
henry
2021-12-03 11:50:57 +08:00
parent 95b12fdb07
commit 25ac50bb51
8 changed files with 42 additions and 20 deletions

View File

@ -37,11 +37,17 @@ func TestReplaceCompile(t *testing.T) {
}
func TestValidateCompile(t *testing.T) {
src := "2134"
//src := "2134"
//
//t.Log(src)
//
//compile := "^[\\w-.:]{4,32}$"
//status := ValidateCompile(src, compile)
//t.Log(status)
src := "htt2ps:2134"
t.Log(src)
compile := "^[\\w-.:]{4,32}$"
compile := "^(http|https):"
status := ValidateCompile(src, compile)
t.Log(status)
}