ソースを参照

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();


読み込み中…
キャンセル
保存