合并微信小程序和支付宝小程序登录入口
This commit is contained in:
@@ -66,7 +66,7 @@ public class AlipayUtil {
|
||||
* @param code 用户信息授权码
|
||||
* @return openId
|
||||
*/
|
||||
public String getOpenId(String code) throws AlipayApiException{
|
||||
public String getOpenId(String code) throws Exception{
|
||||
AlipaySystemOauthTokenRequest req = new AlipaySystemOauthTokenRequest();
|
||||
//SDK已经封装掉了公共参数,这里只需要传入业务参数
|
||||
req.setCode(code);
|
||||
|
||||
Reference in New Issue
Block a user