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.
14 lines
533 B
14 lines
533 B
2 months ago
|
<?php
|
||
|
namespace LaneWeChat\Core;
|
||
2 months ago
|
|
||
2 months ago
|
class AutoReply{
|
||
|
public static function getRole($industryId1, $industryId2){
|
||
2 months ago
|
$queryUrl = 'https://api.weixin.qq.com/cgi-bin/get_current_autoreply_info?access_token=' . AccessToken::getAccessToken();
|
||
2 months ago
|
$queryAction = 'POST';
|
||
|
$template = array();
|
||
|
$template['industry_id1'] = "$industryId1";
|
||
|
$template['industry_id2'] = "$industryId2";
|
||
|
$template = json_encode($template);
|
||
|
return Curl::callWebServer($queryUrl, $template, $queryAction);
|
||
|
}
|
||
|
}
|