public WeChatAuthorize() { string appId = _appId; string secretKey = _appSecret; Option = new WeChatAuthorizeOption(appId, secretKey); Name = "WeChat"; AppId = appId; //Option.RedirectUrl = "/account/unionlogin"; Option.RedirectUrl = RedirectUrl; }
public WeChatAuthorize(string appId, string secretKey) { Option = new WeChatAuthorizeOption(appId, secretKey); Name = "WeChat"; _appId = appId; }