任务,通知功能完成

This commit is contained in:
PandaGoAdmin
2021-12-26 22:24:44 +08:00
parent 816791f148
commit e85bbbc030
17 changed files with 48 additions and 40 deletions

View File

@@ -17,10 +17,8 @@ func TestGetRealAddressByIP(t *testing.T) {
}
func TestDeptPCIds(t *testing.T) {
ss := strings.Trim("/0/2/6/4", "/")
split := strings.Split(ss, "/")
split := strings.Split(strings.Trim("/0/2", "/"), "/")
log.Println("split", split)
ids := DeptPCIds(split, 4, false)
ids := DeptPCIds(split, 2, true)
t.Log(ids)
}