likang 1 year ago
parent
commit
8c33fa15a7
2 changed files with 5 additions and 4 deletions
  1. 3 2
      catch/api/controller/Api.php
  2. 2 2
      task_script/JC_RL4RSSI_MQTT_CLIENT.php

File diff suppressed because it is too large
+ 3 - 2
catch/api/controller/Api.php


+ 2 - 2
task_script/JC_RL4RSSI_MQTT_CLIENT.php

@@ -4,9 +4,9 @@ use \PhpMqtt\Client\MqttClient;
 use \PhpMqtt\Client\ConnectionSettings;
 use think\facade\Cache;
 date_default_timezone_set("PRC");
-define('HOST', 'r-bp1eebab79320044pd.redis.rds.aliyuncs.com');
+define('HOST', '127.0.0.1');
 define('PORT', '6379');
-define('PASSWORD', '7e2b5c91e438be3c!');
+define('PASSWORD', 'R!478gH*%23nPn');
 define('DATABASE', 3);