xiongzhu hace 2 años
padre
commit
4f28a34b75
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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)
+})