package com.tzy.common.utils.http.forest;

import com.dtflys.forest.annotation.*;
import com.tzy.common.dto.OutDTO;
import com.tzy.common.utils.http.forest.interceptor.MyTestInterceptor;

import java.util.Map;

/**
 * @author by po'yi
 * @Classname CommonForestClient
 * @Description 通用http请求
 * @Date 2021/12/1 15:57
 */
@BaseRequest(interceptor = MyTestInterceptor.class)
public interface TestForestClient {

	@Post("{url}")
	OutDTO sendPost(@Var("url") String url, @Body Object data);
}
