|
@@ -1,6 +1,8 @@
|
|
|
package com.fdkankan.jp.xspace.controller;
|
|
|
|
|
|
+import com.fdkankan.common.constant.ServerCode;
|
|
|
import com.fdkankan.jp.xspace.common.Result;
|
|
|
+import com.fdkankan.jp.xspace.common.ResultCode;
|
|
|
import com.fdkankan.jp.xspace.common.annotation.CheckPlatformAdminPermit;
|
|
|
import com.fdkankan.jp.xspace.service.IFileService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -23,7 +25,7 @@ public class FileController extends BaseController{
|
|
|
public Result upload(@RequestParam(value = "file")MultipartFile file,
|
|
|
@RequestParam(value = "num") String num,
|
|
|
@RequestParam(value = "fileName") String fileName) throws IOException {
|
|
|
- return Result.success(fileService.uploadXspaceSceneFile(file,num,fileName, getUser()));
|
|
|
+ return Result.success(ServerCode.SUCCESS.message(), fileService.uploadXspaceSceneFile(file,num,fileName, getUser()));
|
|
|
}
|
|
|
|
|
|
}
|