peter
2025-08-18 c50561d007e420f7397f73afce8966231973ec54
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 * Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
 *
 * https://www.mall4j.com/
 *
 * 未经允许,不可做商业用途!
 *
 * 版权所有,侵权必究!
 */
 
package com.yami.trading.sys.service;
 
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.trading.sys.model.SysConfig;
 
/**
 * 系统配置信息
 * @author lgh
 */
public interface SysConfigService extends IService<SysConfig>  {
 
    /**
     * 根据key,更新value
     * @param key 参数key
     * @param value 参数value
     */
    public void updateValueByKey(String key, String value);
 
    /**
     * 删除配置信息
     * @param ids 配置项id列表
     */
    public void deleteBatch(Long[] ids);
 
    /**
     * 根据key,获取配置的value值
     * @param key 参数key
     * @return value
     */
    public String getValue(String key);
 
}