Skip to content

Commit

Permalink
📦 重构工具链接模块,未联调
Browse files Browse the repository at this point in the history
  • Loading branch information
ablupi committed Sep 7, 2024
1 parent d641507 commit 15744ad
Show file tree
Hide file tree
Showing 4 changed files with 279 additions and 78 deletions.
23 changes: 19 additions & 4 deletions mock/toolLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,26 @@ module.exports = [

platformTable[i] = Mock.mock({
id: i,
nickname: "name"+i,
avatar: "platform"+i,
jump_url: "url"+i,
icon_url: "platform"+i,
links: [],
min_request_interval:minTime,
"has_datasource|1": true
"has_datasource|1": true,
localized_name: {
zh_CN: "name"+i,
en_US: "name"+i
},
localized_description: {
zh_CN: "description"+i,
en_US: "description"+i
},
localized_slogan: {
zh_CN: "slogan"+i,
en_US: "slogan"+i
},
localized_tags: {
zh_CN: ["tags"+i],
en_US: ["tags"+i]
}
});
}
let data = {
Expand Down
Loading

0 comments on commit 15744ad

Please sign in to comment.