xiongzhu 2 anni fa
parent
commit
4f28a34b75
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      testupload.ts

+ 3 - 1
testupload.ts

@@ -41,4 +41,6 @@ async function uploadDoc(title, content) {
     return `https://nebuai.oss-cn-hangzhou.aliyuncs.com/${key}`
 }
 
-uploadDoc('test', '# test')
+uploadDoc('test', '# test').then((res) => {
+    console.log(res)
+})