u
This commit is contained in:
1 parent
b7f2efc7c3
commit
cc88205cba
23 files changed
+1239
-799
No files matched your search
+2
-3
@@ -41,7 +41,6 @@ public class FileController {
|
||||
// 3. 物理路径
|
||||
String basePath = fileConfig.getTempPath(); // D:/data/file/temp/
|
||||
|
||||
System.out.println(basePath);
|
||||
// 4. 保存
|
||||
FileUtils.saveFile(file, basePath, uuidName);
|
||||
|
||||
@@ -99,7 +98,7 @@ public class FileController {
|
||||
|
||||
// 8. 返回
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
result.put("fileName", uuidName);
|
||||
result.put("fileName", fileName);
|
||||
result.put("url", url);
|
||||
result.put("path", relativePath);
|
||||
|
||||
@@ -237,7 +236,7 @@ public class FileController {
|
||||
result.put("url", url);
|
||||
result.put("path", relativePath);
|
||||
result.put("uid", nextId);
|
||||
result.put("fileName", newFileName);
|
||||
result.put("fileName", fileName);
|
||||
result.put("bucket", bucket);
|
||||
|
||||
return Result.ok(result);
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
url=jdbc:sqlserver://118.89.70.199:1433;databaseName=G3BoxOCR
|
||||
username=sa
|
||||
password=zhang520..
|
||||
driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||
|
||||
#url=jdbc:sqlserver://127.0.0.1:1433;databaseName=G3ContainerOCR
|
||||
#url=jdbc:sqlserver://118.89.70.199:1433;databaseName=G3BoxOCR
|
||||
#username=sa
|
||||
#password=123456@aaa
|
||||
#password=zhang520..
|
||||
#driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||
|
||||
url=jdbc:sqlserver://127.0.0.1:1433;databaseName=G3ContainerOCR
|
||||
username=sa
|
||||
password=123456@aaa
|
||||
driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||
|
||||
Reference in new issue
Block a user