优化页面

This commit is contained in:
pengxiaolong
2025-06-09 19:18:38 +08:00
parent d30589fd05
commit c5042d08c3
811 changed files with 2799 additions and 503 deletions

View File

@@ -0,0 +1 @@
"use strict";const e=new(require("../common/vendor.js").COS)({SecretId:"AKID4KPIyQgjjnkWJzSnwtfHj281tcBZo28v",SecretKey:"kQvMjuscBWgfSCqeHiGfx3vc7PUP7ctx"});exports.uploadFile=function(t){return new Promise(((n,c)=>{e.uploadFile({Bucket:"vv-1317974657",Region:"ap-shanghai",Key:"headerIcon/"+t.name,FilePath:t.path,FileSize:"",SliceSize:2097152,Headers:{"x-cos-meta-test":123}},(function(e,t){e?c(e):n(t.Location)}))}))};