Explorar o código

test: 调差调差-附件测试

lanjianrong %!s(int64=5) %!d(string=hai) anos
pai
achega
73f722506c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/controller/material_controller.js

+ 1 - 0
app/controller/material_controller.js

@@ -618,6 +618,7 @@ module.exports = app => {
          */
         async upload(ctx) {
             let stream;
+            console.log(await fs.readdirSync(path.join(this.app.baseDir, 'app', 'public/upload/2647/tc')));
             try {
                 this._checkMaterialFileCanModify(ctx);
                 const parts = this.ctx.multipart({