URL.h 872 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
//
//  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

Sandy's avatar
Sandy committed
26 27 28 29 30 31
#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";
32 33

#endif /* URL_h */