Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
CSDN 技术社区
CSDN-技能森林
提交
87229d3c
C
CSDN-技能森林
项目概览
CSDN 技术社区
/
CSDN-技能森林
通知
2816
Star
149
Fork
162
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
21
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
6
Wiki
分析
仓库
DevOps
项目成员
Pages
C
CSDN-技能森林
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
21
Issue
21
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
6
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
87229d3c
编写于
3月 29, 2022
作者:
F
feilong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新组合包id生成
上级
efd587cd
变更
21
显示空白变更内容
内联
并排
Showing
21 changed file
with
529 addition
and
587 deletion
+529
-587
data/package/job/algo.json
data/package/job/algo.json
+28
-31
data/package/job/android.json
data/package/job/android.json
+28
-31
data/package/job/architecture.json
data/package/job/architecture.json
+36
-39
data/package/job/bi.json
data/package/job/bi.json
+37
-36
data/package/job/big_data.json
data/package/job/big_data.json
+24
-29
data/package/job/cpp.json
data/package/job/cpp.json
+25
-30
data/package/job/crawler.json
data/package/job/crawler.json
+31
-34
data/package/job/devops.json
data/package/job/devops.json
+30
-31
data/package/job/go_backend.json
data/package/job/go_backend.json
+24
-29
data/package/job/ios.json
data/package/job/ios.json
+20
-27
data/package/job/java_backend.json
data/package/job/java_backend.json
+39
-39
data/package/job/machine_vision.json
data/package/job/machine_vision.json
+24
-29
data/package/job/nlp.json
data/package/job/nlp.json
+23
-28
data/package/job/operations.json
data/package/job/operations.json
+24
-27
data/package/job/php.json
data/package/job/php.json
+20
-27
data/package/job/product.json
data/package/job/product.json
+24
-27
data/package/job/search.json
data/package/job/search.json
+27
-30
data/package/job/test.json
data/package/job/test.json
+29
-30
data/package/job/web.json
data/package/job/web.json
+27
-30
main.py
main.py
+1
-1
src/main/package.py
src/main/package.py
+8
-2
未找到文件。
data/package/job/algo.json
浏览文件 @
87229d3c
...
...
@@ -2,32 +2,29 @@
"type"
:
"job"
,
"package"
:
"algo"
,
"package_name"
:
"算法工程师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-algo-476f1b7fa31c4ca58e50e44281852e5c
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-algo1969d3626d424421ba53a4c127446fda"
,
"skill_trees"
:
[
"gml"
,
"algorithm"
,
"c"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:
[
"skill_trees"
:
[
"algorithm02"
,
"python02"
,
"ai"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-algoaec1a934e09c4abcb53d1a12dd776495"
}
]
}
\ No newline at end of file
data/package/job/android.json
浏览文件 @
87229d3c
...
...
@@ -2,32 +2,29 @@
"type"
:
"job"
,
"package"
:
"android"
,
"package_name"
:
"Android工程师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-android-a6402a80627f4e10991289ccdc07909c
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-androidb9d62e2044804aec93d6c3fb608b544a"
,
"skill_trees"
:
[
"gml"
,
"java"
,
"android"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:
[
"skill_trees"
:
[
"react"
,
"weixin"
,
"flutter"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-android2212e1098905439ba31affb6f72a3227"
}
]
}
\ No newline at end of file
data/package/job/architecture.json
浏览文件 @
87229d3c
...
...
@@ -2,13 +2,13 @@
"type"
:
"job"
,
"package"
:
"archit"
,
"package_name"
:
"后端构架师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-archit-138581c50caa404289dc079be72c22ed
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-archit13df7015de654696b77b931d54e2d1f6"
,
"skill_trees"
:
[
"gml"
,
"algorithm"
,
"network"
,
...
...
@@ -16,14 +16,12 @@
"nginx"
,
"devops"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:
[
"skill_trees"
:
[
"springboot"
,
"springcloud"
,
"mysql"
,
...
...
@@ -33,9 +31,8 @@
"node.js"
,
"cloud_native"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-architce38b4dba45a4da59cee8bd22ce7013d"
}
]
}
\ No newline at end of file
data/package/job/bi.json
浏览文件 @
87229d3c
...
...
@@ -2,19 +2,19 @@
"type"
:
"job"
,
"package"
:
"bi"
,
"package_name"
:
"BI 工程师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-bi-6c94aba2fbf94dff9b88706abdd22ddf
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-bi64bf299c82ad4e7782e680d1212009da"
,
"skill_trees"
:
[
"gml"
,
"python"
,
"algorithm"
,
"mysql"
],
"recommend_skill_trees"
:
[
"recommend_skill_trees"
:
[
"python02"
,
"algorithm02"
,
"pg"
...
...
@@ -23,16 +23,17 @@
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:
[
"skill_trees"
:
[
"gml"
,
"python"
,
"algorithm"
],
"recommend_skill_trees"
:
[
"recommend_skill_trees"
:
[
"python02"
,
"algorithm02"
,
"pg"
]
],
"level_id"
:
"pkg-level-bi5347c34e5a9d442bb53f4d1154dfe411"
}
]
}
\ No newline at end of file
data/package/job/big_data.json
浏览文件 @
87229d3c
...
...
@@ -2,30 +2,25 @@
"type"
:
"job"
,
"package"
:
"bigdata"
,
"package_name"
:
"大数据工程师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-bigdata-921ab2260f434034a4d18a331b3fc059
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-bigdatad962c038bacf466ba967b9225392cfe3"
,
"skill_trees"
:
[
"gml"
,
"algorithm"
,
"java"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:[
],
"recommend_skill_trees"
:[
]
"skill_trees"
:
[],
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-bigdataffd2144d3ac54d59884ce3a7c32eb0e6"
}
]
}
\ No newline at end of file
data/package/job/cpp.json
浏览文件 @
87229d3c
...
...
@@ -2,31 +2,26 @@
"type"
:
"job"
,
"package"
:
"cpp"
,
"package_name"
:
"C++工程师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-cpp-868b91324e654aa4a319eaa3a2003e7d
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-cpp6e4874e7341e4b7a9645a386062f480b"
,
"skill_trees"
:
[
"gml"
,
"algorithm"
,
"c"
,
"network"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:[
],
"recommend_skill_trees"
:[
]
"skill_trees"
:
[],
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-cpp8e2ced7c86844357962b3043a62ba077"
}
]
}
\ No newline at end of file
data/package/job/crawler.json
浏览文件 @
87229d3c
...
...
@@ -2,35 +2,32 @@
"type"
:
"job"
,
"package"
:
"crawler"
,
"package_name"
:
"爬虫工程师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-crawler-84a0ac8e3a714889bd1f21f0dc2428b6
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-crawler4166e2a389fb4cf9874b3d28bb2a40a4"
,
"skill_trees"
:
[
"gml"
,
"python"
,
"algorithm"
,
"mysql"
,
"network"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:
[
"skill_trees"
:
[
"python02"
,
"algorithm02"
,
"web"
,
"pg"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-crawler5479517a143c4efd95dacede75865bdf"
}
]
}
\ No newline at end of file
data/package/job/devops.json
浏览文件 @
87229d3c
...
...
@@ -2,18 +2,18 @@
"type"
:
"job"
,
"package"
:
"devops"
,
"package_name"
:
"运维工程师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-devops-7e9a2a5a32184799b0f9c63ac9a29ce6
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-devopsfdc5d030c32e4a50b4fe41033962d74b"
,
"skill_trees"
:
[
"gml"
,
"python"
,
"mysql"
],
"recommend_skill_trees"
:
[
"recommend_skill_trees"
:
[
"devops"
,
"cloud_native"
,
"pg"
...
...
@@ -22,12 +22,11 @@
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:
[
"skill_trees"
:
[
"network02"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-devopsf65659b5246740fda922e8620486b8bb"
}
]
}
\ No newline at end of file
data/package/job/go_backend.json
浏览文件 @
87229d3c
...
...
@@ -2,30 +2,25 @@
"type"
:
"job"
,
"package"
:
"go"
,
"package_name"
:
"Go后端工程师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-go-d68c5efcb5534fb289026397725982dd
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-go8c7b0d54a71f4860b7c9a7dc81b5fcc8"
,
"skill_trees"
:
[
"gml"
,
"algorithm"
,
"network"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:[
],
"recommend_skill_trees"
:[
]
"skill_trees"
:
[],
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-gof011dbf31d4644998f252e63e22f96cc"
}
]
}
\ No newline at end of file
data/package/job/ios.json
浏览文件 @
87229d3c
...
...
@@ -2,28 +2,21 @@
"type"
:
"job"
,
"package"
:
"ios"
,
"package_name"
:
"iOS工程师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-ios-a8bc050c0ace490d82f7bc9c56cec415
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:[
],
"recommend_skill_trees"
:[
]
"level_id"
:
"pkg-level-ios17b7cd3f2d944e9ca3bbadbb51550836"
,
"skill_trees"
:
[],
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:[
],
"recommend_skill_trees"
:[
]
"skill_trees"
:
[],
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-ios2f46dce2ddd94152804cd8412c4ac1fd"
}
]
}
\ No newline at end of file
data/package/job/java_backend.json
浏览文件 @
87229d3c
...
...
@@ -2,20 +2,20 @@
"type"
:
"job"
,
"package"
:
"javabf"
,
"package_name"
:
"Java后端工程师"
,
"package_id"
:
"pkg-javabf-
4ee897f9c6ef49f78d906cd46b813208
"
,
"levels"
:[
"package_id"
:
"pkg-javabf-
0b33bfcfa5cf4a1c87063fd33dea58f3
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
"pkg-level-javabf-4ee897f9c6ef49f78d906cd46b813208
"
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-javabf2a9747cbeeb24ce38d3cc814fded8e26
"
,
"skill_trees"
:
[
"gml"
,
"algorithm"
,
"java"
,
"springboot"
,
"mysql"
],
"recommend_skill_trees"
:
[
"recommend_skill_trees"
:
[
"gml"
,
"algorithm"
,
"java"
,
...
...
@@ -25,15 +25,15 @@
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"level_id"
:
"pkg-level-javabf-4ee897f9c6ef49f78d906cd46b813208
"
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-javabf2e57541d020d4a58b9682295b591d2e9
"
,
"skill_trees"
:
[
"gml"
,
"algorithm"
,
"java"
,
"springboot"
,
"mysql"
],
"recommend_skill_trees"
:
[
"recommend_skill_trees"
:
[
"gml"
,
"algorithm"
,
"java"
,
...
...
data/package/job/machine_vision.json
浏览文件 @
87229d3c
...
...
@@ -2,30 +2,25 @@
"type"
:
"job"
,
"package"
:
"machinevision"
,
"package_name"
:
"机器视觉工程师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-machinevision-f51bfb0f9aba4539a3cc3040aad0692a
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-machinevision07c362bf9ef444edb206988cc97b0b43"
,
"skill_trees"
:
[
"gml"
,
"algorithm"
,
"c"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:[
],
"recommend_skill_trees"
:[
]
"skill_trees"
:
[],
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-machinevision73c4e9518e19431baf7f3ba6c06c7f90"
}
]
}
\ No newline at end of file
data/package/job/nlp.json
浏览文件 @
87229d3c
...
...
@@ -2,29 +2,24 @@
"type"
:
"job"
,
"package"
:
"nlp"
,
"package_name"
:
"自然语言处理工程师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-nlp-d387287227cf41fba9e1b6962cc7349b
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-nlp04dc421437604b86ae9d1a656e97ecab"
,
"skill_trees"
:
[
"gml"
,
"algorithm"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:[
],
"recommend_skill_trees"
:[
]
"skill_trees"
:
[],
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-nlpfa09a020afb24414ae67b7bc0d9eab7c"
}
]
}
\ No newline at end of file
data/package/job/operations.json
浏览文件 @
87229d3c
...
...
@@ -2,28 +2,25 @@
"type"
:
"job"
,
"package"
:
"operations"
,
"package_name"
:
"运营"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-operations-b57b08eed7f9464e852983c60940a1cf
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-operations25c6b09f4eef4f2fa164ff9b83645618"
,
"skill_trees"
:
[
"operations"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:
[
"skill_trees"
:
[
"product"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-operations3818aa9b0ebe408582a986b408df657e"
}
]
}
\ No newline at end of file
data/package/job/php.json
浏览文件 @
87229d3c
...
...
@@ -2,28 +2,21 @@
"type"
:
"job"
,
"package"
:
"php"
,
"package_name"
:
"PHP工程师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-php-7f873c5ea851486c92759712c2e2b739
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:[
],
"recommend_skill_trees"
:[
]
"level_id"
:
"pkg-level-php52ba2421ff9c4e4daa7ef5e9611dca59"
,
"skill_trees"
:
[],
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:[
],
"recommend_skill_trees"
:[
]
"skill_trees"
:
[],
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-php31acef3d5c304145aa78a06932c62ed2"
}
]
}
\ No newline at end of file
data/package/job/product.json
浏览文件 @
87229d3c
...
...
@@ -2,28 +2,25 @@
"type"
:
"job"
,
"package"
:
"product"
,
"package_name"
:
"产品"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-product-8c9a13638bb94afd9627221ba919428e
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-product4d3b2b82c2e040a69f3d5fe1fb399f3b"
,
"skill_trees"
:
[
"product"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:
[
"skill_trees"
:
[
"se"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-product1c2f243703014f66b0627ec0a7f9fd18"
}
]
}
\ No newline at end of file
data/package/job/search.json
浏览文件 @
87229d3c
...
...
@@ -2,31 +2,28 @@
"type"
:
"job"
,
"package"
:
"search"
,
"package_name"
:
"搜索工程师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-search-9e90f446279e45dd8a92daaf2d4c2109
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-search521a8e6980314a56b6bcc04901797bb3"
,
"skill_trees"
:
[
"gml"
,
"algorithm"
,
"java"
,
"search"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:
[
"skill_trees"
:
[
"elastic"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-searchac4b075bbcca4238aae94467384e12ef"
}
]
}
\ No newline at end of file
data/package/job/test.json
浏览文件 @
87229d3c
...
...
@@ -2,31 +2,30 @@
"type"
:
"job"
,
"package"
:
"test"
,
"package_name"
:
"测试工程师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-test-2978b290ee1b4ab9b0dc352186023b69
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-test65afea81d7a4435da2f2a1555c775dbc"
,
"skill_trees"
:
[
"gml"
,
"web"
,
"python"
,
"gml"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:
[
"skill_trees"
:
[
"java"
],
"recommend_skill_trees"
:
[
"recommend_skill_trees"
:
[
"network02"
]
],
"level_id"
:
"pkg-level-test29a22f2d2c724f158bfe1725f148515e"
}
]
}
\ No newline at end of file
data/package/job/web.json
浏览文件 @
87229d3c
...
...
@@ -2,31 +2,28 @@
"type"
:
"job"
,
"package"
:
"web"
,
"package_name"
:
"前端工程师"
,
"package_id"
:
"
"
,
"levels"
:
[
"package_id"
:
"pkg-web-1a26665bfe384137afd539bb7de5f3f0
"
,
"levels"
:
[
{
"level"
:
"01"
,
"level_name"
:
"入门"
,
"level_id"
:
""
,
"skill_trees"
:
[
"level_id"
:
"pkg-level-webb6aae28fbf0a4dc38e6f2f1d01727517"
,
"skill_trees"
:
[
"web"
,
"vue"
,
"network"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[]
},
{
"level"
:
"02"
,
"level_name"
:
"进阶"
,
"skill_trees"
:
[
"skill_trees"
:
[
"react"
,
"weixin"
],
"recommend_skill_trees"
:[
]
"recommend_skill_trees"
:
[],
"level_id"
:
"pkg-level-web1b6cb1042e27446d976cb10b6791fb7f"
}
]
}
\ No newline at end of file
main.py
浏览文件 @
87229d3c
from
src.main.package
import
Package
if
__name__
==
'__main__'
:
p
=
Package
(
'data/'
)
p
=
Package
(
'data/
package/
'
)
p
.
walk
()
src/main/package.py
浏览文件 @
87229d3c
...
...
@@ -15,9 +15,15 @@ class Package:
_
,
ext
=
os
.
path
.
splitext
(
file_name
)
if
ext
==
'.json'
:
pkg
=
load_json
(
file_full_name
)
if
pkg
.
get
(
'type'
)
==
'
career
'
:
if
pkg
.
get
(
'type'
)
==
'
job
'
:
self
.
visit_package
(
file_full_name
,
pkg
)
def
visit_package
(
self
,
file_full_name
,
pkg
):
pkg
[
'package_id'
]
=
'career-'
+
uuid
.
uuid4
().
hex
pacakge
=
pkg
[
'package'
]
levels
=
pkg
[
'levels'
]
if
pkg
.
get
(
'package_id'
)
is
None
or
pkg
.
get
(
'package_id'
).
strip
()
==
''
:
pkg
[
'package_id'
]
=
f
'pkg-
{
pacakge
}
-'
+
uuid
.
uuid4
().
hex
for
level
in
levels
:
if
level
.
get
(
'level_id'
)
is
None
or
level
.
get
(
'level_id'
)
==
''
:
level
[
'level_id'
]
=
f
'pkg-level-
{
pacakge
}
'
+
uuid
.
uuid4
().
hex
dump_json
(
file_full_name
,
pkg
,
exist_ok
=
True
,
override
=
True
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录