作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

gatewaywork部署上线调试

... ... @@ -82,7 +82,6 @@ class Events
$api_subscrib = self::$db->select('*')->from('gjr_api_subscrib')->where("subscrib_ids like '%$row[id],%'")->row();
if(!empty($api_subscrib)){
$api = self::$db->select('*')->from('gjr_api')->where("id = '$api_subscrib[api_id]'")->row();
echo $api['callback']."\n";
//请求接口返回状态
$arr1['number'] = $number;
$result3 = json_decode(self::httpPost($api['callback'],$arr1),true);
... ... @@ -124,6 +123,7 @@ class Events
unset($param[count($param)-1]);
unset($param[count($param)-2]);
$str = ",".implode(',',$param).",";
echo self::crc16($str);
if (self::crc16($str) != $crc16) {
echo "yanzhengshibai2";
return ;
... ...