Skip to content

Commit

Permalink
v2 版本发布
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangbj committed Apr 18, 2020
1 parent 5ca244d commit 86c71f5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
11 changes: 6 additions & 5 deletions demo/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@

//设置配置参数
$config = [
//机器人接受请求的url
// 'web_hook_url' => 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=1f292d89-da72-4821-a12b-efbbadba2750',
'web_hook_url' => 'https://oapi.dingtalk.com/robot/send?access_token=dd54da0effd485b4974ee4fd332c973c72b4bba574e8e0eb21a3ef221733d459',
'client_drive' => 'DingTalkClient',
'secret'=>'SECbb573eaffce59f940d14b23e0e8219c6c172a536dfa9e89075668bb1489be638'
'web_hook_url' => 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=1f292d89-da72-4821-a12b-efbbadba2750',
'client_drive' => 'EnterpriseWeChatClient',

// 'web_hook_url' => 'https://oapi.dingtalk.com/robot/send?access_token=dd54da0effd485b4974ee4fd332c973c72b4bba574e8e0eb21a3ef221733d459',
// 'client_drive' => 'DingTalkClient',
// 'secret'=>'SECbb573eaffce59f940d14b23e0e8219c6c172a536dfa9e89075668bb1489be638'
];
try {

Expand Down
6 changes: 3 additions & 3 deletions src/Config/config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
return array(
'web_hook_url' => '',
'client_drive' => '',
'secret' => ''
'web_hook_url' => '',//机器人接受请求的url
'client_drive' => '',//客户端驱动类型
'secret' => '',//密钥
);

0 comments on commit 86c71f5

Please sign in to comment.