URL.h 1.52 KB
//
//  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";

#elif defined(YI_DI_GANG)
static NSString *const VERSION_NAME = @"颐堤正式版";
static NSString *const BASE_IP = @"http://210.12.159.69:8780";
//蒲公英appid
static NSString *const PGYER_APPID = @"15c23f3120e5d59690fffee6bd7f3ecd";

#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 */