parent
dd1e9658cb
commit
2f3b3af397
@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
namespace LaneWeChat\Core;
|
||||||
|
class AutoReply{
|
||||||
|
public static function getRole($industryId1, $industryId2){
|
||||||
|
$queryUrl = 'https://api.weixin.qq.com/cgi-bin/get_current_autoreply_info?access_token='.AccessToken::getAccessToken();
|
||||||
|
$queryAction = 'POST';
|
||||||
|
$template = array();
|
||||||
|
$template['industry_id1'] = "$industryId1";
|
||||||
|
$template['industry_id2'] = "$industryId2";
|
||||||
|
$template = json_encode($template);
|
||||||
|
return Curl::callWebServer($queryUrl, $template, $queryAction);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue