package com.fdkankan.scene.callback;

import com.dtflys.forest.callback.OnSuccess;
import com.dtflys.forest.http.ForestRequest;
import com.dtflys.forest.http.ForestResponse;
import com.fdkankan.common.constant.ServerCode;
import com.fdkankan.common.exception.BusinessException;
import com.fdkankan.common.response.Result;
import java.util.Arrays;
import java.util.List;
import lombok.extern.slf4j.Slf4j;

/**
 * <p>
 * TODO
 * </p>
 *
 * @author dengsixing
 * @since 2022/4/25
 **/
@Slf4j
public class FdkkMiniReqSuccessCallback implements OnSuccess<Result> {

    @Override
    public void onSuccess(Result result, ForestRequest forestRequest,
        ForestResponse forestResponse) {
        log.info("请求v3成功，url:{},result:{}", forestRequest.getUrl(), forestResponse.getContent());
    }
}
