|
@@ -1,5 +1,6 @@
|
|
package com.kexun.controller;
|
|
package com.kexun.controller;
|
|
|
|
|
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
import com.kexun.entity.ModelEntity;
|
|
import com.kexun.entity.ModelEntity;
|
|
import org.apache.commons.io.FileUtils;
|
|
import org.apache.commons.io.FileUtils;
|
|
|
|
|
|
@@ -99,8 +100,10 @@ public class FileUploadController {
|
|
modelEntity.setFilePath(filePath);
|
|
modelEntity.setFilePath(filePath);
|
|
userModelService.updateById(modelEntity);
|
|
userModelService.updateById(modelEntity);
|
|
|
|
|
|
|
|
+ JSONObject resJson=new JSONObject();
|
|
|
|
+ resJson.put("file_path", filePath);
|
|
|
|
|
|
- return Result.success();
|
|
|
|
|
|
+ return Result.success("ok", resJson);
|
|
}
|
|
}
|
|
|
|
|
|
//上传用户模型及审批结果
|
|
//上传用户模型及审批结果
|