Commit a9970dee authored by xianjun's avatar xianjun

修改注释

parent ed23035c
......@@ -24,7 +24,7 @@ public class WxXcxAuthCode2SessionRequest implements WxXwxRequestUrl, WxXcxReque
@Override
public String getUrl() {
return wxXcxConfig.getBaseUrl() + wxXcxConfig.getAuthCode2SesstionUrl() + "?" + this.getUrlPara();
return wxXcxConfig.getBaseUrl() + wxXcxConfig.getAuthCode2SessionUrl() + "?" + this.getUrlPara();
}
@Override
......
......@@ -16,7 +16,7 @@ public class WxXcxConfig {
@Value("${yzg.wx.xcx.authCode2SesstionUrl:/sns/jscode2session}")
private String authCode2SesstionUrl;
private String authCode2SessionUrl;
@Value("${yzg.wx.xcx.authCheckEncryptedDataUrl:/wxa/business/checkencryptedmsg}")
......@@ -26,8 +26,8 @@ public class WxXcxConfig {
return baseUrl;
}
public String getAuthCode2SesstionUrl() {
return authCode2SesstionUrl;
public String getAuthCode2SessionUrl() {
return authCode2SessionUrl;
}
public String getAuthCheckEncryptedDataUrl() {
......
......@@ -11,7 +11,7 @@ import com.yanzuoguang.wxxcx.auth.login.WxXcxResponseAuthCode2SessionRes;
public interface WxXcxAuthLogin {
/**
* 请求登录
* 登录凭证校验。通过 wx.login 接口获得临时登录凭证 code 后传到开发者服务器调用此接口完成登录流程。更多使用方法详见 小程序登录。
*
* @param wxXcxAuthCode2SessionReq 请求登录
* @return 请求实体
......
......@@ -24,6 +24,11 @@ public class WxXcxAuthLoginImpl implements WxXcxAuthLogin {
this.wxXcxRequest = wxXcxRequest;
}
/**
* 登录凭证校验。通过 wx.login 接口获得临时登录凭证 code 后传到开发者服务器调用此接口完成登录流程。更多使用方法详见 小程序登录。
* @param wxXcxAuthCode2SessionReq 请求登录
* @return
*/
@Override
public WxXcxResponseAuthCode2SessionRes code2Session(WxXcxAuthCode2SessionReq wxXcxAuthCode2SessionReq) {
WxXcxAuthCode2SessionRequest code2SessionRequest = new WxXcxAuthCode2SessionRequest(wxXcxConfig, wxXcxRequest, wxXcxAuthCode2SessionReq);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment