51 lines
1.4 KiB
HTML
51 lines
1.4 KiB
HTML
|
<html lang="cn">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
|
||
|
<title>{{.Title}}</title>
|
||
|
<link rel="stylesheet" href="/static/cdn/element-ui/2.15.7/theme-chalk/index.min.css">
|
||
|
<script src="/static/cdn/vue/2.6.11/vue.min.js"></script>
|
||
|
<script src="/static/js/jquery.min.js"></script>
|
||
|
<script src="/static/cdn/element-ui/2.15.7/index.js"></script>
|
||
|
<script src="/static/js/functions.js?v=kjhgsdjduwg34df"></script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<body>
|
||
|
<div id="app">
|
||
|
<template>
|
||
|
<el-result icon="success" title="授权成功,请返回并刷新上一页" subTitle="请返回并刷新上一页">
|
||
|
<template slot="extra">
|
||
|
<el-button type="primary" size="medium">返回</el-button>
|
||
|
</template>
|
||
|
</el-result>
|
||
|
</template>
|
||
|
</div>
|
||
|
</body>
|
||
|
|
||
|
</body>
|
||
|
<script>
|
||
|
|
||
|
</script>
|
||
|
<script>
|
||
|
new Vue({
|
||
|
el: '#app',
|
||
|
delimiters:["<{","}>"],
|
||
|
data: {
|
||
|
},
|
||
|
methods: {
|
||
|
getAccessToken(){
|
||
|
let code=getQuery("code");
|
||
|
sendAjax("/kefu/douyin","post",{code:code},function(res){
|
||
|
console.log(res);
|
||
|
})
|
||
|
},
|
||
|
},
|
||
|
mounted:function(){
|
||
|
},
|
||
|
created: function () {
|
||
|
this.getAccessToken();
|
||
|
}
|
||
|
})
|
||
|
</script>
|
||
|
</html>
|