redis.h 447 B

1234567891011121314151617181920212223
  1. #ifndef REDIS_H
  2. #define REDIS_H
  3. #include <stdio.h>
  4. #include <QString>
  5. #include <string.h>
  6. #include <stddef.h>
  7. #include <stdarg.h>
  8. #include <string.h>
  9. #include <assert.h>
  10. #include <hiredis/hiredis.h>
  11. //#define REDIS_HOST "127.0.0.1"
  12. //#define REDIS_PORT 6379
  13. #define REDIS_HOST "47.98.201.73"
  14. #define REDIS_PORT 6379
  15. #define AUTH "auth usky2021"
  16. #define DBID "select 3"
  17. #endif // REDIS_H