Commit de2a58c1 by mingyuan

test

parent 602c0333
...@@ -32,12 +32,7 @@ module Dingtalk::Api ...@@ -32,12 +32,7 @@ module Dingtalk::Api
payload = { payload = {
receiverIds: Array(receiver_ids).join(','), receiverIds: Array(receiver_ids).join(','),
tenantId: app.tenant_id, tenantId: app.tenant_id,
msg: { msg: '{"msgtype":"text","text":{"content":"text"}}'
msgtype: 'text',
text: {
content: text
}
}.to_json
} }
r = post '/message/workNotification', **payload r = post '/message/workNotification', **payload
......
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