Showing
1 changed file
with
0 additions
and
7 deletions
@@ -138,13 +138,6 @@ const file = { | @@ -138,13 +138,6 @@ const file = { | ||
138 | }; | 138 | }; |
139 | } | 139 | } |
140 | 140 | ||
141 | - if (!actPath) { | ||
142 | - return ctx.body = { | ||
143 | - code: 400, | ||
144 | - message: '请指定上传路径' | ||
145 | - }; | ||
146 | - } | ||
147 | - | ||
148 | let readable = fs.createReadStream(file.path); | 141 | let readable = fs.createReadStream(file.path); |
149 | let config = CDNCONFIG.main; | 142 | let config = CDNCONFIG.main; |
150 | 143 |
-
Please register or login to post a comment