//package com.fdkankan.scene.httpclient; // //import com.dtflys.forest.annotation.Get; //import com.dtflys.forest.annotation.Header; //import com.dtflys.forest.annotation.Post; //import com.dtflys.forest.annotation.Retry; //import com.dtflys.forest.annotation.Success; //import com.dtflys.forest.annotation.Var; //import com.dtflys.forest.callback.OnError; //import com.dtflys.forest.callback.OnSuccess; //import com.fdkankan.common.response.Result; //import java.util.Map; //import com.fdkankan.scene.bean.CameraBean; //import com.fdkankan.scene.bean.UserIncrementBean; //import com.fdkankan.scene.callback.FdkkMiniReqSuccessCondition; // ///** // *

// * TODO // *

// * // * @author dengsixing // * @since 2022/4/24 // **/ //@Success(condition = FdkkMiniReqSuccessCondition.class) //public interface FdkankanMiniClient { // // @Get(url="{url}" //// ,interceptor = TLogForestInterceptor.class 加这个拦截器,打印的tlog日志会详细一些,包括头信息等等 // ) // @Retry(maxRetryCount = "3", maxRetryInterval = "100") // Result getDataSyncType(@Var("url") String url, OnSuccess onSuccess, OnError onError); // // @Get("{url}") // @Retry(maxRetryCount = "3", maxRetryInterval = "100") // Result getUserIncrementByCameraId(@Var("url") String url, OnSuccess onSuccess, OnError onError); // // @Get("{url}") // @Retry(maxRetryCount = "3", maxRetryInterval = "100") // Result getCameraByCameraId(@Var("url") String url, OnSuccess onSuccess, OnError onError); // //// @Get(url="{url}") //// @Retry(maxRetryCount = "3", maxRetryInterval = "100") //// Result getSceneProByNum(@Var("url") String url, OnSuccess onSuccess, OnError onError); // // @Post(url="{url}") // @Retry(maxRetryCount = "3", maxRetryInterval = "100") // Result> getIsLogin(@Var("url") String url, @Header("token") String token, OnSuccess onSuccess, OnError onError); // //// @Post( //// url = "${url}", //// contentType = "application/json" //// ) //// @Retry(maxRetryCount = "3", maxRetryInterval = "100") //// Result upgradeToV4ResultSync(@Var("url") String url, @Body RequestSceneProV4 param, OnSuccess onSuccess, OnError onError); // //}