Commit 72c7f922 by mingyuan

info;

parent 07905508
......@@ -11,9 +11,13 @@ dd.ready(() => {
buttonName: "收到"
})
fetch('https://soa-okr.tallty.com/dingtalk/apps/info', {
method: 'GET',
method: 'POST',
headers: {
Accept: 'application/json'
},
body: {
corp_id: 'ding9f5ed2cec249700e35c2f4657eb6378f',
code: info.code
}
}).then(response => {
return response.text()
......
......@@ -10,7 +10,7 @@ Rails.application.routes.draw do
end
resources :apps do
collection do
get :info
post :info
end
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment