Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature:添加接受群邀请接口 #307

Open
leochen-g opened this issue Nov 18, 2022 · 1 comment
Open

feature:添加接受群邀请接口 #307

leochen-g opened this issue Nov 18, 2022 · 1 comment

Comments

@leochen-g
Copy link
Contributor

先留个记录,web协议是支持接受群邀请的,后续提交pr实现

setCheckUrl: function(accountFactory){
	            _checkURLsuffix =
	                "&skey=" + encodeURIComponent(accountFactory.getSkey())
	                + "&deviceid=" + encodeURIComponent(accountFactory.getDeviceID())
	                + "&pass_ticket=" + encodeURIComponent(accountFactory.getPassticket())
	                + "&opcode=2&scene=1&username=" + accountFactory.getUserName();
},
genCheckURL: function(url){
	            if(!_checkURLsuffix) throw "_checkURLsuffix is not ready!";
	
	            return confFactory.API_webwxcheckurl +
	                "?requrl=" + encodeURIComponent((url.indexOf("http") == 0 ? "" : "http://") + service.clearHtmlStr(service.htmlDecode(url))) + _checkURLsuffix;
	       },
@spacelan
Copy link
Member

spacelan commented Dec 5, 2022

👍🏻

@spacelan spacelan closed this as completed Dec 5, 2022
@spacelan spacelan reopened this Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants