develop: 临时保存修改

This commit is contained in:
MHW
2026-03-27 10:20:45 +08:00
parent a88d74ea1d
commit 3fe32e4ac3
10 changed files with 20866 additions and 2 deletions

View File

@@ -115,4 +115,15 @@ public class BehaviortreeController extends BaseController
return toAjax(behaviortreeService.deleteBehaviortreeByIds(ids));
}
/**
* 获取行为树对应的平台
* @param id
* @return
*/
@PreAuthorize("@ss.hasPermi('system:behaviortree:query')")
@GetMapping("/getPlat/{id}")
@ApiOperation("获取行为树对应的平台")
public AjaxResult getPlat(@PathVariable("id") Integer id) {
return success(behaviortreeService.getPlat(id));
}
}

View File

@@ -7,10 +7,10 @@ spring:
# 主库数据源
master:
# url: jdbc:mysql://192.168.166.71:3306/behaviortreedb?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:mysql://localhost:3306/autosolution_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:mysql://192.168.166.71:3306/autosolution_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
# password: 123456
password: 1234
password: 123456
# 从库数据源
slave:
# 从数据源开关/默认关闭