|
@@ -119,7 +119,7 @@ public class CompatibleOldFileController {
|
|
|
* @author : lijie
|
|
|
* Update By lijie 2021/11/19 9:58
|
|
|
*/
|
|
|
- @PostMapping(value = "/common/image_upload",consumes = {"image/jpg"})
|
|
|
+ @PostMapping(value = "/common/image_upload",consumes = {"image/jpg",MediaType.APPLICATION_JSON})
|
|
|
@ResponseBody
|
|
|
public String imageUpload(HttpServletRequest request) throws IOException {
|
|
|
if(StrUtil.isBlank(OldFileAppContext.getContext().getKey())){
|