Commit 97ffad4d authored by 赵啸非's avatar 赵啸非

添加php健康度检测

parent 02b13143
......@@ -51,7 +51,7 @@ public class SetupDbServiceImpl implements SetupDbService {
boolean database = createDatabase(connection, dbSetupEntity.getDbName());
if(database){
connection.setCatalog(dbSetupEntity.getDbName());
FileSystemResource rc = new FileSystemResource(uploadService.getFilePath(dbSetupEntity.getDbFilePath()));
FileSystemResource rc = new FileSystemResource(dbSetupEntity.getDbFilePath());
EncodedResource er = new EncodedResource(rc, "UTF-8");
ScriptUtils.executeSqlScript(connection, er);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment