huliguo
7 天以前 0cf3e63218f09805c19763d3b828537ef3a895cc
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/conslole/ConfigController.java
@@ -266,4 +266,16 @@
                .eq("config_key", ConfigEnum.STORE_COURSE_DISPLAY_PASSWORD.getKey()));
        return R.ok(one.getConfigValue());
    }
    /**
     * 获取门店课程展示名称
     * @return
     */
    @PostMapping("/getStoreCurriculumName")
    public R<String> getStoreCurriculumName(){
        CustomConfig one = customConfigService.getOne(new QueryWrapper<CustomConfig>().eq("config_type", ConfigEnum.STORE_COURSE_DISPLAY_NAME.getKeyType())
                .eq("config_key", ConfigEnum.STORE_COURSE_DISPLAY_NAME.getKey()));
        return R.ok(one.getConfigValue());
    }
}