DataAndEnum.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // DataAndEnum.h
  3. // JSJPCoach
  4. //
  5. // Created by apple on 2017/3/20.
  6. // Copyright © 2017年 Danson. All rights reserved.
  7. //
  8. #ifndef DataAndEnum_h
  9. #define DataAndEnum_h
  10. //defaultWebServiceUrl2是测试服务器 defaultWebServiceUrl是服务器
  11. //学员端请求 218.85.55.253:10001 192.168.1.6:8082/ fj.jppt.com.cn fj.fjjp.com.cn
  12. #define defaultHttp isOfficial? @"http://fj.jppt.com.cn/" : @"http://192.168.1.234:8084/"
  13. //基础请求
  14. #define defaultHttpUrl isOfficial? @"appservice/coach/" : @"xmappservice2/coach/"
  15. //上传资源
  16. #define defaultUploadUrl isOfficial? @"appservice/fileupload/" : @"xmappservice2/fileupload/"
  17. //实操计时相关
  18. #define defaultTrainUrl isOfficial? @"appservice/train/" : @"xmappservice2/train/"
  19. //支付计时相关
  20. #define defaultPayUrl isOfficial? @"appservice/pay/" : @"xmappservice2/pay/"
  21. //公共类的请求
  22. #define defaultCommonUrl isOfficial? @"appservice/common/" : @"xmappservice2/common/"
  23. //相对路径图片地址
  24. #define imgPreFix @"http://fj.jppt.com.cn/doc/"
  25. //block
  26. typedef void (^MyBlockType)(id);
  27. typedef void (^BlockTypeVo)(void);
  28. #endif /* DataAndEnum_h */