/// <summary> /// userid转换成openid接口 /// </summary> /// <param name="userid"></param> /// <param name="agentid"></param> /// <param name="openid"></param> /// <param name="appid"></param> /// <returns></returns> public UseridAndOpenidConvertRes User_ConvertToOpenid(string userid, string agentid) { var rel = QyAPI.User_ConvertToOpenid(access_token, userid, agentid); if (IsAccessTokenError(rel)) { rel = QyAPI.User_ConvertToOpenid(access_token, userid, agentid); IsAccessTokenError(rel, false); } return(rel); }