package com.house365.service.impl;

import com.house365.beans.dto.AgentDTO;
import com.house365.beans.dto.DepartmentDTO;
import com.house365.beans.dto.TagDTO;
import com.house365.beans.dto.UserDTO;
import com.house365.service.interfaces.EnterpriseClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Date: 2016/12/14</p>
 *
 * @author XN
 * @version 1.0
 */
@Component
public class EnterpriseClientHystrix implements EnterpriseClient {


    @Override
    public String agent(@PathVariable("method") String method, @RequestParam(value = "corpId") String corpId,
                        @RequestParam(value = "secret") String secret, AgentDTO agentDTO) {
        return null;
    }

    @Override
    public String menu(@PathVariable("method") String method, @RequestParam(value = "corpId") String corpId,
                       @RequestParam(value = "secret") String secret, @RequestParam(value = "agentid") String agentId,
                       @RequestParam(value = "button") String button) {
        return null;
    }

    @Override
    public String user(@PathVariable("method") String method, @RequestParam(value = "corpId") String corpId,
                       @RequestParam(value = "secret") String secret, @RequestBody UserDTO user) {
        return null;
    }

    @Override
    public String department(@PathVariable("method") String method, @RequestParam(value = "corpId") String corpId,
                             @RequestParam(value = "secret") String secret, @RequestBody DepartmentDTO department) {
        return null;
    }

    @Override
    public String tag(@PathVariable("method") String method, @RequestParam(value = "corpId") String corpId,
                      @RequestParam(value = "secret") String secret, @RequestBody TagDTO tag) {
        return null;
    }

    @Override
    public String batch(@PathVariable("method") String method, @RequestParam(value = "corpId") String corpId,
                        @RequestParam(value = "secret") String secret, @RequestParam(value = "media_id") String mediaId,
                        @RequestParam(value = "callback") String callback, @RequestParam(value = "jobid") String jobId) {
        return null;
    }
}
