//
|
// PPInterfacedConst.m
|
// PPNetworkHelper
|
//
|
// Created by YiAi on 2017/7/6.
|
// Copyright © 2017年 AndyPang. All rights reserved.
|
//
|
|
#import "PPInterfacedConst.h"
|
|
#if DevelopSever
|
/** 接口前缀-开发服务器*/
|
NSString *const kApiPrefix = @"接口服务器的请求前缀 例: http://192.168.10.10:8080";
|
#elif TestSever
|
/** 接口前缀-测试服务器*/
|
//NSString *const kApiPrefix = @"http://monitor-api2.7drlb.com/mobile";
|
NSString *const kApiPrefix = @"http://192.168.1.101:8090/screen_api_v2";
|
#elif ProductSever
|
/** 接口前缀-生产服务器*/
|
NSString *const kApiPrefix = @"https://www.baidu.com";
|
#endif
|
|
/** 登录*/
|
NSString *const kLogin = @"/mobile/login";
|
/** 平台会员退出*/
|
NSString *const kDevices = @"/mobile/devices";
|
/** 上传数据测试*/
|
NSString *const kDetail = @"/mobile/sensors";
|
/** 获取历史记录列表*/
|
NSString *const kHistory = @"/mobile/sensor";
|