Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LinuxSuRen
zendata
提交
7d3bf127
Z
zendata
项目概览
LinuxSuRen
/
zendata
与 Fork 源项目一致
Fork自
易企天创 / zendata
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zendata
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
7d3bf127
编写于
8月 26, 2020
作者:
aaronchen2k2k
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
only support range like 0-9, a-z in []
上级
6d1067fa
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
378 addition
and
350 deletion
+378
-350
demo/test/test.yaml
demo/test/test.yaml
+217
-160
tmp/cache/.data.db
tmp/cache/.data.db
+0
-0
yaml/base/domain/domain.v1.yaml
yaml/base/domain/domain.v1.yaml
+152
-153
yaml/base/email/email.v1.yaml
yaml/base/email/email.v1.yaml
+9
-37
未找到文件。
demo/test/test.yaml
浏览文件 @
7d3bf127
...
...
@@ -4,182 +4,239 @@ author: zentao
version
:
1.0
fields
:
-
field
:
test1
from
:
base.name.letters.v1.yaml
use
:
letters
postfix
:
"
\t
"
-
field
:
test2
from
:
base.name.numbers.v1.yaml
use
:
numbers
postfix
:
"
\t
"
-
field
:
test3
from
:
name.en.given.v1
select
:
name
where
:
"
`index`='b'"
postfix
:
"
\t
"
-
field
:
test4
from
:
name.en.family.v1
select
:
name
where
:
"
`index`='c'"
postfix
:
"
\t
"
-
field
:
test5
from
:
base.name.enreal.v1.yaml
use
:
common
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test6
from
:
base.name.enreal.v1.yaml
use
:
male_common
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test7
from
:
base.name.enreal.v1.yaml
use
:
female_with_middle
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test8
from
:
base.name.cnreal.v1.yaml
use
:
two
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test9
from
:
base.name.cnreal.v1.yaml
use
:
male_three
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test10
from
:
base.name.cnreal.v1.yaml
use
:
female_four
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test10
from
:
base.name.enaccount.v1.yaml
use
:
common
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test11
from
:
base.name.enaccount.v1.yaml
use
:
common_underline
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test12
from
:
base.name.enaccount.v1.yaml
use
:
common_dot
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test13
from
:
base.name.enaccount.v1.yaml
use
:
reverse
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test14
from
:
base.name.cnaccount.v1.yaml
use
:
common
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test15
from
:
base.name.cnaccount.v1.yaml
use
:
common_underline
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test16
from
:
base.name.cnaccount.v1.yaml
use
:
common_dot
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test17
from
:
base.name.cnaccount.v1.yaml
use
:
reverse
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test18
from
:
base.name.cnaccount.v1.yaml
use
:
family
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test19
from
:
base.name.cnaccount.v1.yaml
use
:
given
prefix
:
"
["
postfix
:
"
]
\t
"
-
field
:
test20
from
:
base.domain.domain.v1.yaml
use
:
one_number_at_common
prefix
:
"
"
postfix
:
"
\t
"
-
field
:
test21
from
:
base.domain.domain.v1.yaml
use
:
one_number_at_cn
#account
# - field: test1
# from: base.name.letters.v1.yaml
# use: letters
# postfix: "\t"
#
# - field: test2
# from: base.name.numbers.v1.yaml
# use: numbers
# postfix: "\t"
#
# - field: test3
# from: name.en.given.v1
# select: name
# where: "`index`='b'"
# postfix: "\t"
#
# - field: test4
# from: name.en.family.v1
# select: name
# where: "`index`='c'"
# postfix: "\t"
#
# - field: test5
# from: base.name.enreal.v1.yaml
# use: common
# prefix: "["
# postfix: "]\t"
#
# - field: test6
# from: base.name.enreal.v1.yaml
# use: male_common
# prefix: "["
# postfix: "]\t"
#
# - field: test7
# from: base.name.enreal.v1.yaml
# use: female_with_middle
# prefix: "["
# postfix: "]\t"
#
# - field: test8
# from: base.name.cnreal.v1.yaml
# use: two
# prefix: "["
# postfix: "]\t"
#
# - field: test9
# from: base.name.cnreal.v1.yaml
# use: male_three
# prefix: "["
# postfix: "]\t"
#
# - field: test10
# from: base.name.cnreal.v1.yaml
# use: female_four
# prefix: "["
# postfix: "]\t"
#
# - field: test10
# from: base.name.enaccount.v1.yaml
# use: common
# prefix: "["
# postfix: "]\t"
# - field: test11
# from: base.name.enaccount.v1.yaml
# use: common_underline
# prefix: "["
# postfix: "]\t"
# - field: test12
# from: base.name.enaccount.v1.yaml
# use: common_dot
# prefix: "["
# postfix: "]\t"
# - field: test13
# from: base.name.enaccount.v1.yaml
# use: reverse
# prefix: "["
# postfix: "]\t"
#
# - field: test14
# from: base.name.cnaccount.v1.yaml
# use: common
# prefix: "["
# postfix: "]\t"
# - field: test15
# from: base.name.cnaccount.v1.yaml
# use: common_underline
# prefix: "["
# postfix: "]\t"
# - field: test16
# from: base.name.cnaccount.v1.yaml
# use: common_dot
# prefix: "["
# postfix: "]\t"
# - field: test17
# from: base.name.cnaccount.v1.yaml
# use: reverse
# prefix: "["
# postfix: "]\t"
# - field: test18
# from: base.name.cnaccount.v1.yaml
# use: family
# prefix: "["
# postfix: "]\t"
# - field: test19
# from: base.name.cnaccount.v1.yaml
# use: given
# prefix: "["
# postfix: "]\t"
# domain
# - field: test20
# from: base.domain.domain.v1.yaml
# use: one_number_at_common
# prefix: ""
# postfix: "\t"
# - field: test21
# from: base.domain.domain.v1.yaml
# use: one_number_at_cn
# prefix: ""
# postfix: "\t"
# - field: test22
# from: base.domain.domain.v1.yaml
# use: one_number_at_new
# prefix: ""
# postfix: "\t"
#
# - field: test23
# from: base.domain.domain.v1.yaml
# use: one_letter_at_common
# prefix: ""
# postfix: "\t"
# - field: test24
# from: base.domain.domain.v1.yaml
# use: one_letter_at_cn
# prefix: ""
# postfix: "\t"
# - field: test25
# from: base.domain.domain.v1.yaml
# use: one_letter_at_new
# prefix: ""
# postfix: "\t"
#
# - field: test26
# from: base.domain.domain.v1.yaml
# use: numbers_at_common
# prefix: ""
# postfix: "\t"
# - field: test27
# from: base.domain.domain.v1.yaml
# use: numbers_at_cn
# prefix: ""
# postfix: "\t"
# - field: test28
# from: base.domain.domain.v1.yaml
# use: numbers_at_new
# prefix: ""
# postfix: "\t"
#
# - field: test29
# from: base.domain.domain.v1.yaml
# use: letters_at_common
# prefix: ""
# postfix: "\t"
# - field: test30
# from: base.domain.domain.v1.yaml
# use: letters_at_cn
# prefix: ""
# postfix: "\t"
# - field: test31
# from: base.domain.domain.v1.yaml
# use: letters_at_new
# prefix: ""
# postfix: "\t"
#
# - field: test32
# from: base.domain.domain.v1.yaml
# use: mixed_at_common
# prefix: ""
# postfix: "\t"
# - field: test33
# from: base.domain.domain.v1.yaml
# use: mixed_at_cn
# prefix: ""
# postfix: "\t"
# - field: test34
# from: base.domain.domain.v1.yaml
# use: mixed_at_new
# prefix: ""
# postfix: "\t"
#email
-
field
:
test35
from
:
base.email.email.v1.yaml
use
:
number_with_esp
prefix
:
"
"
postfix
:
"
\t
"
-
field
:
test
22
from
:
base.
domain.domain
.v1.yaml
use
:
one_number_at_new
-
field
:
test
36
from
:
base.
email.email
.v1.yaml
use
:
number_with_self
prefix
:
"
"
postfix
:
"
\t
"
-
field
:
test
23
from
:
base.
domain.domain
.v1.yaml
use
:
one_letter_at_common
-
field
:
test
37
from
:
base.
email.email
.v1.yaml
use
:
letter_with_esp
prefix
:
"
"
postfix
:
"
\t
"
-
field
:
test24
from
:
base.domain.domain.v1.yaml
use
:
one_letter_at_cn
prefix
:
"
"
postfix
:
"
\t
"
-
field
:
test25
from
:
base.domain.domain.v1.yaml
use
:
one_letter_at_new
-
field
:
test38
from
:
base.email.email.v1.yaml
use
:
letter_with_self
prefix
:
"
"
postfix
:
"
\t
"
-
field
:
test
26
from
:
base.
domain.domain
.v1.yaml
use
:
numbers_at_common
-
field
:
test
39
from
:
base.
email.email
.v1.yaml
use
:
western_with_esp
prefix
:
"
"
postfix
:
"
\t
"
-
field
:
test27
from
:
base.domain.domain.v1.yaml
use
:
numbers_at_cn
prefix
:
"
"
postfix
:
"
\t
"
-
field
:
test28
from
:
base.domain.domain.v1.yaml
use
:
numbers_at_new
-
field
:
test40
from
:
base.email.email.v1.yaml
use
:
western_with_self
prefix
:
"
"
postfix
:
"
\t
"
-
field
:
test29
from
:
base.domain.domain.v1.yaml
use
:
mixed_at_common
prefix
:
"
"
postfix
:
"
\t
"
-
field
:
test30
from
:
base.domain.domain.v1.yaml
use
:
mixed_at_cn
-
field
:
test41
from
:
base.email.email.v1.yaml
use
:
pinyin_with_esp
prefix
:
"
"
postfix
:
"
\t
"
-
field
:
test31
from
:
base.domain.domain.v1.yaml
use
:
mixed_at_new
prefix
:
"
"
postfix
:
"
\t
"
-
field
:
test32
from
:
base.domain.esp.v1.yaml
use
:
esp
-
field
:
test42
from
:
base.email.email.v1.yaml
use
:
pinyin_with_self
prefix
:
"
"
postfix
:
"
\t
"
\ No newline at end of file
tmp/cache/.data.db
浏览文件 @
7d3bf127
无法预览此类型文件
yaml/base/domain/domain.v1.yaml
浏览文件 @
7d3bf127
...
...
@@ -5,167 +5,166 @@ version: 1.0
field
:
domain
instances
:
#
- instance: one_number_at_common
#
note: 单数字域名
#
fields:
#
- field: part1
#
range: 1-9
#
rand: true
#
postfix: "."
#
- field: part2
#
from: base.domain.postfix.v1.yaml
#
use: all
#
- instance: one_number_at_cn
#
note: 单数字CN域名
#
prefix:
#
fields:
#
- field: part1
#
range: 1-9
#
postfix: "."
#
- field: part2
#
from: base.domain.postfix.v1.yaml
#
use: cn
#
- instance: one_number_at_new
#
note: 单数字新域名
#
prefix:
#
fields:
#
- field: part1
#
range: 1-9
#
postfix: "."
#
- field: part2
#
from: base.domain.postfix.v1.yaml
#
use: new
#
#
- instance: one_letter_at_common
#
note: 单字母域名
#
prefix:
#
fields:
#
- field: part1
#
range: a-z
#
postfix: "."
#
- field: part2
#
from: base.domain.postfix.v1.yaml
#
use: all
#
- instance: one_letter_at_cn
#
note: 单字母CN域名
#
prefix:
#
fields:
#
- field: part1
#
range: a-z
#
postfix: "."
#
- field: part2
#
from: base.domain.postfix.v1.yaml
#
use: cn
#
- instance: one_letter_at_new
#
note: 单字母新域名
#
prefix:
#
fields:
#
- field: part1
#
range: a-z
#
postfix: "."
#
- field: part2
#
from: base.domain.postfix.v1.yaml
#
use: new
#
#
- instance: numbers_at_common
#
note: 纯数字域名
#
prefix:
#
fields:
#
- field: part1
#
range: 0-9
#
loop: 5-8
#
postfix: "."
#
- field: part2
#
from: base.domain.postfix.v1.yaml
#
use: all
#
- instance: numbers_at_cn
#
note: 纯数字CN域名
#
prefix:
#
fields:
#
- field: part1
#
range: 0-9
#
loop: 5-8
#
postfix: "."
#
- field: part2
#
from: base.domain.postfix.v1.yaml
#
use: cn
#
- instance: numbers_at_new
#
note: 纯数字新域名
#
prefix:
#
fields:
#
- field: part1
#
range: a-z
#
loop: 5-8
#
postfix: "."
#
- field: part2
#
from: base.domain.postfix.v1.yaml
#
use: new
#
#
- instance: letters_at_common
#
note: 纯字母域名
#
prefix:
#
fields:
#
- field: part1
#
range: a-z
#
loop: 5-8
#
postfix: "."
#
- field: part2
#
from: base.domain.postfix.v1.yaml
#
use: all
#
- instance: letters_at_cn
#
note: 纯字母CN域名
#
prefix:
#
fields:
#
- field: part1
#
range: a-z
#
loop: 5-8
#
postfix: "."
#
- field: part2
#
from: base.domain.postfix.v1.yaml
#
use: cn
#
- instance: letters_at_new
#
note: 纯字母新域名
#
prefix:
#
fields:
#
- field: part1
#
range: a-z
#
loop: 5-8
#
postfix: "."
#
- field: part2
#
from: base.domain.postfix.v1.yaml
#
use: new
-
instance
:
one_number_at_common
note
:
单数字域名
fields
:
-
field
:
part1
range
:
1-9
rand
:
true
postfix
:
"
."
-
field
:
part2
from
:
base.domain.postfix.v1.yaml
use
:
all
-
instance
:
one_number_at_cn
note
:
单数字CN域名
prefix
:
fields
:
-
field
:
part1
range
:
1-9
postfix
:
"
."
-
field
:
part2
from
:
base.domain.postfix.v1.yaml
use
:
cn
-
instance
:
one_number_at_new
note
:
单数字新域名
prefix
:
fields
:
-
field
:
part1
range
:
1-9
postfix
:
"
."
-
field
:
part2
from
:
base.domain.postfix.v1.yaml
use
:
new
-
instance
:
one_letter_at_common
note
:
单字母域名
prefix
:
fields
:
-
field
:
part1
range
:
a-z
postfix
:
"
."
-
field
:
part2
from
:
base.domain.postfix.v1.yaml
use
:
all
-
instance
:
one_letter_at_cn
note
:
单字母CN域名
prefix
:
fields
:
-
field
:
part1
range
:
a-z
postfix
:
"
."
-
field
:
part2
from
:
base.domain.postfix.v1.yaml
use
:
cn
-
instance
:
one_letter_at_new
note
:
单字母新域名
prefix
:
fields
:
-
field
:
part1
range
:
a-z
postfix
:
"
."
-
field
:
part2
from
:
base.domain.postfix.v1.yaml
use
:
new
-
instance
:
numbers_at_common
note
:
纯数字域名
prefix
:
fields
:
-
field
:
part1
range
:
0-9
loop
:
5-8
postfix
:
"
."
-
field
:
part2
from
:
base.domain.postfix.v1.yaml
use
:
all
-
instance
:
numbers_at_cn
note
:
纯数字CN域名
prefix
:
fields
:
-
field
:
part1
range
:
0-9
loop
:
5-8
postfix
:
"
."
-
field
:
part2
from
:
base.domain.postfix.v1.yaml
use
:
cn
-
instance
:
numbers_at_new
note
:
纯数字新域名
prefix
:
fields
:
-
field
:
part1
range
:
a-z
loop
:
5-8
postfix
:
"
."
-
field
:
part2
from
:
base.domain.postfix.v1.yaml
use
:
new
-
instance
:
letters_at_common
note
:
纯字母域名
prefix
:
fields
:
-
field
:
part1
range
:
a-z
loop
:
5-8
postfix
:
"
."
-
field
:
part2
from
:
base.domain.postfix.v1.yaml
use
:
all
-
instance
:
letters_at_cn
note
:
纯字母CN域名
prefix
:
fields
:
-
field
:
part1
range
:
a-z
loop
:
5-8
postfix
:
"
."
-
field
:
part2
from
:
base.domain.postfix.v1.yaml
use
:
cn
-
instance
:
letters_at_new
note
:
纯字母新域名
prefix
:
fields
:
-
field
:
part1
range
:
a-z
loop
:
5-8
postfix
:
"
."
-
field
:
part2
from
:
base.domain.postfix.v1.yaml
use
:
new
-
instance
:
mixed_at_common
note
:
字母和数字域名
prefix
:
fields
:
-
field
:
part1
range
:
[
1-2.01
,
a-c
,
0-3
]
range
:
[
a-z
,
0-9
]
:R
loop
:
5-8
loopfix
:
"
|"
postfix
:
"
."
-
field
:
part2
from
:
base.domain.postfix.v1.yaml
use
:
all
# - instance: mixed_at_cn
# note: 字母和数字CN域名
# prefix:
# fields:
# - field: part1
# range: [a-z,0-9]:R
# loop: 5-8
# postfix: "."
# - field: part2
# from: base.domain.postfix.v1.yaml
# use: cn
# - instance: mixed_at_new
# note: 字母和数字新域名
# prefix:
# fields:
# - field: part1
# range: [a-z,0-9]:R
# loop: 5-8
# postfix: "."
# - field: part2
# from: base.domain.postfix.v1.yaml
# use: new
\ No newline at end of file
-
instance
:
mixed_at_cn
note
:
字母和数字CN域名
prefix
:
fields
:
-
field
:
part1
range
:
[
a-z
,
0-9
]
:R
loop
:
5-8
postfix
:
"
."
-
field
:
part2
from
:
base.domain.postfix.v1.yaml
use
:
cn
-
instance
:
mixed_at_new
note
:
字母和数字新域名
prefix
:
fields
:
-
field
:
part1
range
:
[
a-z
,
0-9
]
:R
loop
:
5-8
postfix
:
"
."
-
field
:
part2
from
:
base.domain.postfix.v1.yaml
use
:
new
\ No newline at end of file
yaml/base/email/email.v1.yaml
浏览文件 @
7d3bf127
...
...
@@ -3,7 +3,7 @@ desc:
author
:
zentao
version
:
1.0
field
:
domain
field
:
email
instances
:
-
instance
:
number_with_esp
note
:
数字加服务商域名
...
...
@@ -14,7 +14,7 @@ instances:
postfix
:
"
."
-
field
:
part2
from
:
base.domain.domain.v1.yaml
use
:
esp
use
:
mixed_at_common
-
instance
:
number_with_self
note
:
数字加自有域名
prefix
:
...
...
@@ -25,7 +25,7 @@ instances:
postfix
:
"
."
-
field
:
part2
from
:
base.domain.domain.v1.yaml
use
:
self
use
:
mixed_at_common
-
instance
:
letter_with_esp
note
:
字母加服务商域名
...
...
@@ -37,7 +37,7 @@ instances:
postfix
:
"
."
-
field
:
part2
from
:
base.domain.domain.v1.yaml
use
:
esp
use
:
mixed_at_cn
-
instance
:
letter_with_self
note
:
字母加自有域名
prefix
:
...
...
@@ -48,7 +48,7 @@ instances:
postfix
:
"
."
-
field
:
part2
from
:
base.domain.domain.v1.yaml
use
:
self
use
:
mixed_at_cn
-
instance
:
western_with_esp
note
:
单词加服务商域名
...
...
@@ -60,7 +60,7 @@ instances:
postfix
:
"
."
-
field
:
part2
from
:
base.domain.domain.v1.yaml
use
:
esp
use
:
mixed_at_new
-
instance
:
western_with_self
note
:
单词加自有域名
prefix
:
...
...
@@ -71,7 +71,7 @@ instances:
postfix
:
"
."
-
field
:
part2
from
:
base.domain.domain.v1.yaml
use
:
self
use
:
mixed_at_new
-
instance
:
pinyin_with_esp
note
:
拼音加服务商域名
...
...
@@ -83,7 +83,7 @@ instances:
postfix
:
"
."
-
field
:
part2
from
:
base.domain.domain.v1.yaml
use
:
esp
use
:
mixed_at_common
-
instance
:
pinyin_with_self
note
:
拼音加自有域名
prefix
:
...
...
@@ -94,32 +94,4 @@ instances:
postfix
:
"
."
-
field
:
part2
from
:
base.domain.domain.v1.yaml
use
:
self
-
instance
:
pinyin_with_self
note
:
拼音加自有域名
prefix
:
fields
:
-
field
:
part1
from
:
words.v1
select
:
pinyin
postfix
:
"
."
-
field
:
part2
from
:
base.domain.domain.v1.yaml
use
:
self
-
instance
:
western_with_custom
note
:
单词加后缀生成域名
prefix
:
fields
:
-
field
:
part1
from
:
base.name.letters.v1.yaml
select
:
letters
postfix
:
"
."
-
field
:
part2
from
:
words.v1
select
:
en
postfix
:
"
."
-
field
:
part3
from
:
base.domain.postfix.v1.yaml
use
:
common
\ No newline at end of file
use
:
mixed_at_common
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录