// // URL.h // HDMall // // Created by Javen on 2017/7/27. // Copyright © 2017年 上海勾芒信息科技. All rights reserved. // #ifndef URL_h #define URL_h #if defined(HDMall_TEST) static NSString *const VERSION_NAME = @"商地开发版"; static NSString *const BASE_IP = @"http://gomoredev.natapp4.cc"; #elif defined(HDMall) static NSString *const VERSION_NAME = @"商地开发版"; static NSString *const BASE_IP = @"http://gomoredev.natapp4.cc"; #else static NSString *const VERSION_NAME = @" "; static NSString *const BASE_IP = @"http://gomoredev.natapp4.cc"; #endif
#define REST_BASE_URL [NSString stringWithFormat:@"%@/palmmall-server/rest", BASE_IP] //天气api static NSString *const WEATHER_SERVER_URL = @"http://api.map.baidu.com/telematics/v3/weather"; static NSString *const BAIDU_AK = @"442b5fb0a1dc4dcbbccd26975e180e29";
#endif /* URL_h */