add
This commit is contained in:
21
scripts/gen_query_whitelist_hashes/main.go
Normal file
21
scripts/gen_query_whitelist_hashes/main.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"tyapi-server/internal/domains/api/services"
|
||||
)
|
||||
|
||||
func main() {
|
||||
ids := []string{
|
||||
"350681198611130611", "622301200006250550", "320682198910134998", "640102198708020925",
|
||||
"420624197310234034", "350104198501184416", "410521198606018056", "410482198504029333",
|
||||
"370982199012037272", "431027198810290730", "362502199510298017", "340826199008250378",
|
||||
"321027198304072129", "420116198907031413", "13032319930128263X", "350681198412013041",
|
||||
"33072619741031111X",
|
||||
}
|
||||
|
||||
for _, id := range ids {
|
||||
fmt.Printf("%s|%s|%s\n", id, services.HashIDCard(id), services.MaskIDCard(id))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user