You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
529 B

<?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);
}
}