FromSuperBrain.h 548 B

123456789101112131415161718192021222324252627
  1. #ifndef FROMSUPERBRAIN_H
  2. #define FROMSUPERBRAIN_H
  3. #include <string>
  4. class FromSuperBrain
  5. {
  6. public:
  7. FromSuperBrain();
  8. ~FromSuperBrain();
  9. /* 获取token */
  10. bool getToken();
  11. private:
  12. std::string m_url;
  13. std::string m_username;
  14. std::string m_password;
  15. std::string m_token;
  16. const std::string m_tokenKey = "/external/broadcastToken"; /* 获取token数据 */
  17. const std::string m_taskTypeListKey = "/external/getTaskTypeList"; /* 获取任务类型数据 */
  18. };
  19. #endif /* FROMSUPERBRAIN_H */