package thyyxxk.webserver.service.externalhttp;

import com.alibaba.fastjson.JSONObject;
import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.Get;
import com.dtflys.forest.annotation.Var;

@BaseRequest(connectTimeout = 1000, readTimeout = 1500)
public interface CorpWxSrvc {
    @Get(value = "https://qyapi.weixin.qq.com/cgi-bin/user/get?access_token={token}&userid={userid}")
    JSONObject getUserinfo(@Var("token") String token, @Var("userid") String userid);
}
