Commit 02b13143 authored by 赵啸非's avatar 赵啸非

添加php健康度检测

parent c6ecae4a
......@@ -120,7 +120,7 @@ public class SetupProjectServiceImpl extends AbstractCRUDServiceImpl<SetupProjec
dbSetupEntity.setDbName(setupProjectEntity.getDbName());
dbSetupEntity.setUserName(setupProjectEntity.getDbUser());
dbSetupEntity.setPassword(setupProjectEntity.getDbPassword());
dbSetupEntity.setDbFilePath(publicPath + "/db/base.sql");
dbSetupEntity.setDbFilePath(sqlPath.getPath());
log.info("数据库db路径!{}", dbSetupEntity.getDbFilePath());
Rest<String> dbRest = setupDbService.initDb(dbSetupEntity);
if (YesNoEnum.YES.getValue() != dbRest.getCode()) {
......
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