持续集成分支
This commit is contained in:
1
public/WW_verify_wgUJVXFQU2vrp0Lc.txt
Normal file
1
public/WW_verify_wgUJVXFQU2vrp0Lc.txt
Normal file
@@ -0,0 +1 @@
|
||||
wgUJVXFQU2vrp0Lc
|
||||
16
public/oauth.html
Normal file
16
public/oauth.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>微信Oauth2.0</title>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
if (/code=/.test(location.search)) {
|
||||
parent.postMessage(location.href)
|
||||
} else {
|
||||
location.href = `https://open.weixin.qq.com/connect/oauth2/authorize${location.search}&redirect_uri=${location.origin + location.pathname}#wechat_redirect`
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user