// // 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://dev.gomoretech.com"; //蒲公英appid static NSString *const PGYER_APPID = @""; #elif defined(HDMall) static NSString *const VERSION_NAME = @"商地开发版"; static NSString *const BASE_IP = @"http://gomoredev.natapp4.cc"; //蒲公英appid static NSString *const PGYER_APPID = @""; #elif defined(YI_DI_GANG_TEST) static NSString *const VERSION_NAME = @"颐堤港测试版"; static NSString *const BASE_IP = @"http://210.12.159.69:8280"; //蒲公英appid static NSString *const PGYER_APPID = @"de74015c5fe97b3e746d8e8b463f7a05"; #else static NSString *const VERSION_NAME = @" "; static NSString *const BASE_IP = @"http://gomoredev.natapp4.cc"; static NSString *const PGYER_APPID = @"de74015c5fe97b3e746d8e8b463f7a05"; #endif #define REST_BASE_URL [NSString stringWithFormat:@"%@/palmmall-server/rest/hdmall", 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 */