me.chanjar.weixin.cp.api.WxCpAgentWorkBenchService Maven / Gradle / Ivy
package me.chanjar.weixin.cp.api;
import me.chanjar.weixin.common.error.WxErrorException;
import me.chanjar.weixin.cp.bean.WxCpAgentWorkBench;
/**
* The interface Wx cp agent work bench service.
* 工作台自定义展示
*
* @author songshiyu
* created on 16:16 2020/9/27
*/
public interface WxCpAgentWorkBenchService {
/**
* Sets work bench template.
*
* @param wxCpAgentWorkBench the wx cp agent work bench
* @throws WxErrorException the wx error exception
*/
void setWorkBenchTemplate(WxCpAgentWorkBench wxCpAgentWorkBench) throws WxErrorException;
/**
* Gets work bench template.
*
* @param agentid the agentid
* @return the work bench template
* @throws WxErrorException the wx error exception
*/
String getWorkBenchTemplate(Long agentid) throws WxErrorException;
/**
* Sets work bench data.
*
* @param wxCpAgentWorkBench the wx cp agent work bench
* @throws WxErrorException the wx error exception
*/
void setWorkBenchData(WxCpAgentWorkBench wxCpAgentWorkBench) throws WxErrorException;
}