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

import com.alibaba.fastjson2.JSONObject;
import com.dtflys.forest.annotation.*;
import com.tzy.common.utils.http.forest.interceptor.SaasInterceptor;
import com.tzy.common.utils.http.forest.param.ResultDTO;

import java.util.Map;

/**
 * @author by po'yi
 * @Classname CommonForestClient
 * @Description saas服务调用
 * @Date 2023/12/28 15:57
 */
@BaseRequest(interceptor = SaasInterceptor.class)
public interface SaasForestClient {

	@Post("{url}")
	ResultDTO sendJsonPost(@Var("url") String url, @Header Map<String, Object> headerMap, @JSONBody JSONObject data);
}
