Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rails_dingtalk
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
other
rails_dingtalk
Commits
73a1dec5
Commit
73a1dec5
authored
Sep 05, 2021
by
mingyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test dingtalk
parent
72c7f922
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
index.js
app/views/dingtalk/home/index.js
+4
-3
No files found.
app/views/dingtalk/home/index.js
View file @
73a1dec5
...
@@ -13,12 +13,13 @@ dd.ready(() => {
...
@@ -13,12 +13,13 @@ dd.ready(() => {
fetch
(
'https://soa-okr.tallty.com/dingtalk/apps/info'
,
{
fetch
(
'https://soa-okr.tallty.com/dingtalk/apps/info'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
Accept
:
'application/json'
Accept
:
'application/json'
,
'Content-Type'
:
'application/json'
},
},
body
:
{
body
:
JSON
.
stringify
(
{
corp_id
:
'ding9f5ed2cec249700e35c2f4657eb6378f'
,
corp_id
:
'ding9f5ed2cec249700e35c2f4657eb6378f'
,
code
:
info
.
code
code
:
info
.
code
}
}
)
}).
then
(
response
=>
{
}).
then
(
response
=>
{
return
response
.
text
()
return
response
.
text
()
}).
then
(
body
=>
{
}).
then
(
body
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment