mirror of
http://112.124.100.131/ebiz-ai/ebiz-base-ai.git
synced 2025-12-06 17:36:48 +08:00
初始化
This commit is contained in:
29
index.html
Normal file
29
index.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<script src="https://g.alicdn.com/dingding/dingtalk-jsapi/3.0.25/dingtalk.open.js"></script>
|
||||
<title>OA智能助理</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>欢迎来到OA智能助理</h1>
|
||||
<p id="info"></p>
|
||||
</body>
|
||||
<script type="text/javascript">
|
||||
dd.ready(function () {
|
||||
|
||||
dd.runtime.permission.requestAuthCode({
|
||||
corpId: "dinga483783a6e936d79", // 企业id
|
||||
onSuccess: function (info) {
|
||||
code = info.code // 通过该免登授权码可以获取用户身份
|
||||
$("#info").html(info);
|
||||
alert(JSON.stringfy(info));
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user