package com.red.circle.console.app.service.app.dynamic;

import com.red.circle.other.inner.model.cmd.dynamic.DynamicPopularConfigCmd;
import com.red.circle.other.inner.model.dto.dynamic.DynamicPopularConfigDTO;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <p>
 * 动态-热门权重分设置 服务类.
 * </p>
 *
 * @author pengshigang
 * @since 2022-06-30
 */
public interface DynamicPopularConfigService {

  DynamicPopularConfigDTO config();

  void addOrUpdate(@RequestBody @Validated DynamicPopularConfigCmd param);
}
