| 12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // KSDomain.h
- // KulexiuForTeacher
- //
- // Created by 王智 on 2023/6/19.
- //
- #ifndef KSDomain_h
- #define KSDomain_h
- #define SCRIPT_NAME (@"COLEXIU")
- #define AGENT_NAME (@"COLEXIUAPPI")
- #define AGENT_DOMAIN (@"COLEXIUTEACHER")
- #define CERT_PATH ([[NSBundle mainBundle] pathForResource:@"client" ofType:@"p12"])
- #define WEBPATH (@"/teacher")
- #define FILE_DOMAIN (@"klx/")
- // 接口
- #define hostURL ([NSString stringWithFormat:@"https://%@",REQUEST_DOMAIN])
- // 网络教室
- #define SEALCLASSHOST ([NSString stringWithFormat:@"https://%@/api-classroom",REQUEST_DOMAIN])
- // 网页
- #define WEBHOST ([NSString stringWithFormat:@"https://%@%@",REQUEST_DOMAIN,WEBPATH])
- // 评测webSocket
- #define SOCKET_URL ([NSString stringWithFormat:@"wss://%@",SOCKET_DOMAIN])
- // 白板
- #define WhiteBoardHostURL ([NSString stringWithFormat:@"https://%@",WHITE_BOARD])
- #define OPEN_URL ([NSString stringWithFormat:@"https://%@",OPEN_DOMAIN])
- // 云教练
- #define CLOUD_URL ([NSString stringWithFormat:@"https://%@/%@",ACCOMPANY_DOMAIN, @"klx-music-score"])
- #endif /* KSDomain_h */
|