瀏覽代碼

upd

station_14109
altob.rd 8 年之前
父節點
當前提交
5b808eeb38
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      coworker/mqtt_service.php

+ 1
- 1
coworker/mqtt_service.php 查看文件

@@ -74,7 +74,7 @@ function procmsg($topic, $msg)
{
$data = array('topic' => $topic, 'msg' => $msg, 'ck' => md5($topic.'altob'.$msg));
if($topic == 'altob.888.mqtt')
if(in_array($topic, array('altob.888.mqtt')))
{
// dispatch
$ch = curl_init();


Loading…
取消
儲存