KSDomain.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // KSDomain.h
  3. // KulexiuForTeacher
  4. //
  5. // Created by 王智 on 2023/6/19.
  6. //
  7. #ifndef KSDomain_h
  8. #define KSDomain_h
  9. #define SCRIPT_NAME (@"COLEXIU")
  10. #define AGENT_NAME (@"COLEXIUAPPI")
  11. #define AGENT_DOMAIN (@"COLEXIUTEACHER")
  12. #define CERT_PATH ([[NSBundle mainBundle] pathForResource:@"client" ofType:@"p12"])
  13. #define WEBPATH (@"/teacher")
  14. #define FILE_DOMAIN (@"klx/")
  15. // 接口
  16. #define hostURL ([NSString stringWithFormat:@"https://%@",REQUEST_DOMAIN])
  17. // 网络教室
  18. #define SEALCLASSHOST ([NSString stringWithFormat:@"https://%@/api-classroom",REQUEST_DOMAIN])
  19. // 网页
  20. #define WEBHOST ([NSString stringWithFormat:@"https://%@%@",REQUEST_DOMAIN,WEBPATH])
  21. // 评测webSocket
  22. #define SOCKET_URL ([NSString stringWithFormat:@"wss://%@",SOCKET_DOMAIN])
  23. // 白板
  24. #define WhiteBoardHostURL ([NSString stringWithFormat:@"https://%@",WHITE_BOARD])
  25. #define OPEN_URL ([NSString stringWithFormat:@"https://%@",OPEN_DOMAIN])
  26. // 云教练
  27. #define CLOUD_URL ([NSString stringWithFormat:@"https://%@/%@",ACCOMPANY_DOMAIN, @"klx-music-score"])
  28. #endif /* KSDomain_h */