All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ars.module.system.service.ConfigService Maven / Gradle / Ivy

package ars.module.system.service;

import ars.invoke.local.Api;
import ars.invoke.local.Param;
import ars.invoke.request.Requester;
import ars.database.service.Service;
import ars.module.system.model.Config;

/**
 * 系统配置业务操作接口
 *
 * @param  数据模型
 * @author wuyongqiang
 */
@Api("system/config")
public interface ConfigService extends Service {
    /**
     * 获取系统配置值
     *
     * @param requester 请求对象
     * @param key       键
     * @return 值
     */
    @Api("get")
    public String get(Requester requester, @Param(name = "key", required = true) String key);

    /**
     * 设置系统配置
     *
     * @param requester 请求对象
     */
    @Api("set")
    public void set(Requester requester);

    /**
     * 删除系统配置
     *
     * @param requester 请求对象
     * @param keys      键
     */
    @Api("remove")
    public void remove(Requester requester, @Param(name = "key", required = true) String[] keys);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy