package cn.com.ctop.toutiao.service;

import cn.com.ctop.toutiao.entity.ByteDanceUserOrientationTemplate;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @Description: 今日头条受众模板信息
 * @Author: jeecg-boot
 * @Date: 2019-07-23
 * @Version: V1.0
 */
public interface IByteDanceUserOrientationTemplateService extends IService<ByteDanceUserOrientationTemplate> {

    Map<String, Object> insertTemplate(JSONObject template);

    Result<IPage<ByteDanceUserOrientationTemplate>> getList(ByteDanceUserOrientationTemplate template, Integer pageNo, Integer pageSize, HttpServletRequest req);
}
