12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- //
- // DataAndEnum.h
- // JSJPCoach
- //
- // Created by apple on 2017/3/20.
- // Copyright © 2017年 Danson. All rights reserved.
- //
- #ifndef DataAndEnum_h
- #define DataAndEnum_h
- //defaultWebServiceUrl2是测试服务器 defaultWebServiceUrl是服务器
- //学员端请求 218.85.55.253:10001 192.168.1.6:8082/ fj.jppt.com.cn fj.fjjp.com.cn
- #define defaultHttp isOfficial? @"http://fj.jppt.com.cn/" : @"http://192.168.1.234:8084/"
- //基础请求
- #define defaultHttpUrl isOfficial? @"appservice/coach/" : @"xmappservice2/coach/"
- //上传资源
- #define defaultUploadUrl isOfficial? @"appservice/fileupload/" : @"xmappservice2/fileupload/"
- //实操计时相关
- #define defaultTrainUrl isOfficial? @"appservice/train/" : @"xmappservice2/train/"
- //支付计时相关
- #define defaultPayUrl isOfficial? @"appservice/pay/" : @"xmappservice2/pay/"
- //公共类的请求
- #define defaultCommonUrl isOfficial? @"appservice/common/" : @"xmappservice2/common/"
- //相对路径图片地址
- #define imgPreFix @"http://fj.jppt.com.cn/doc/"
- //block
- typedef void (^MyBlockType)(id);
- typedef void (^BlockTypeVo)(void);
- #endif /* DataAndEnum_h */
|