This commit is contained in:
777
2025-12-09 15:16:30 +08:00
parent cd350392ef
commit 7462e05864

View File

@@ -70,7 +70,7 @@ public class SystemConfigController {
public R<Void> businessUpdate(String key,String value){
SystemConfigEnum[] values = SystemConfigEnum.values();
for (SystemConfigEnum config : values) {
if (config.getGroup() == SystemConfigGroupEnum.BUSINESS && config.getKey().equals(key)) {
if (config.getKey().equals(key)) {
SystemCheckResp checkResp = systemConfigManager.setSystemConfig(config, value);
if(checkResp.isSuccess()){
return R.ok();