{"id":20563475,"url":"https://github.com/thundersdata-frontend/oss-tools","last_synced_at":"2025-04-14T14:43:04.854Z","repository":{"id":55479150,"uuid":"274627944","full_name":"thundersdata-frontend/oss-tools","owner":"thundersdata-frontend","description":"前端业务辅助工具-oss上传维护文件","archived":false,"fork":false,"pushed_at":"2021-09-09T05:06:08.000Z","size":1407,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T03:41:21.557Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thundersdata-frontend.png","metadata":{"files":{"readme":"readMe.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-24T09:24:43.000Z","updated_at":"2022-10-21T03:07:13.000Z","dependencies_parsed_at":"2022-08-15T01:20:14.870Z","dependency_job_id":null,"html_url":"https://github.com/thundersdata-frontend/oss-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thundersdata-frontend%2Foss-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thundersdata-frontend%2Foss-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thundersdata-frontend%2Foss-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thundersdata-frontend%2Foss-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thundersdata-frontend","download_url":"https://codeload.github.com/thundersdata-frontend/oss-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248898692,"owners_count":21179824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T04:19:01.566Z","updated_at":"2025-04-14T14:43:04.832Z","avatar_url":"https://github.com/thundersdata-frontend.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 前端业务辅助工具-上传维护文件\n\n## 概要\n\n用于对接 oss 文件服务，上传文件到远程 oss 服务。线上地址：http://oss-tools.dev.thundersdata.com/homepage.\n\n## 使用方法\n\n### 一、上传文件\n\n1.点击或拖动文件到加号处上传，即可看到上传后远程文件的 fileId 和 链接地址，点击“复制 fileId”可以复制文件 id，点击“复制地址”可以复制远程文件的静态文件地址，在控制台会打印出上传文件的信息。\n\n2.目前可支持文件多选上传。\n\n3.token：目前的 token 默认使用的是微信电商的 token，可以自己更改为自己项目里的 token 以上传到自己项目的 oss 域。\n\n### 二、重写文件\n\n1.将上传文件时获得的 fileId 输入文件 ID 的输入框，再选择远程文件即可替换文件为当前文件，点击 “复制地址” 可以复制远程文件的链接。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthundersdata-frontend%2Foss-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthundersdata-frontend%2Foss-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthundersdata-frontend%2Foss-tools/lists"}