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