本文整理汇总了Java中com.alipay.api.domain.AlipayOpenAuthTokenAppQueryModel类的典型用法代码示例。如果您正苦于以下问题:Java AlipayOpenAuthTokenAppQueryModel类的具体用法?Java AlipayOpenAuthTokenAppQueryModel怎么用?Java AlipayOpenAuthTokenAppQueryModel使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
AlipayOpenAuthTokenAppQueryModel类属于com.alipay.api.domain包,在下文中一共展示了AlipayOpenAuthTokenAppQueryModel类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: openAuthTokenAppQueryToResponse
import com.alipay.api.domain.AlipayOpenAuthTokenAppQueryModel; //导入依赖的package包/类
/**
* 查询授权信息
* @param model
* @return
* @throws AlipayApiException
*/
public static AlipayOpenAuthTokenAppQueryResponse openAuthTokenAppQueryToResponse(AlipayOpenAuthTokenAppQueryModel model) throws AlipayApiException {
AlipayOpenAuthTokenAppQueryRequest request = new AlipayOpenAuthTokenAppQueryRequest();
request.setBizModel(model);
return AliPayApiConfigKit.getAliPayApiConfig().getAlipayClient().execute(request);
}
示例2: openAuthTokenAppQuery
import com.alipay.api.domain.AlipayOpenAuthTokenAppQueryModel; //导入依赖的package包/类
/**
* 查询授权信息
* @param model
* @return
* @throws AlipayApiException
*/
public static String openAuthTokenAppQuery(AlipayOpenAuthTokenAppQueryModel model) throws AlipayApiException {
AlipayOpenAuthTokenAppQueryResponse response = openAuthTokenAppQueryToResponse(model);
return response.getBody();
}