//
//  URL.h
//  Car
//
//  Created by Javen on 2016/12/23.
//  Copyright © 2016年 上海勾芒信息科技. All rights reserved.
//

#ifndef URL_h
#define URL_h

#ifdef test
static NSString *const VersionName = @"车族通客户版测试版";
static NSString *const BASE_IP = @"http://cartest.gomoretech.com";
#else
static NSString *const VersionName = @"车族通客户版正式版";
static NSString *const BASE_IP = @"http://whcar.gomoretech.com";
#endif

/** 请求基准地址 */
#define REST_BASE_URL [NSString stringWithFormat:@"%@/car-web/app", BASE_IP]

static NSString *const kLoginUrl =  @"merchantUser/login";
static NSString *const kUpgradeUrl = @"merchantUser/getUpgrade";
static NSString *const kModifyPswUrl = @"stationUser/modifyPassword";
static NSString *const kResetPswUrl = @"stationUser/resetPassword";

static NSString *const kGetUserInfoUrl = @"account/get";
//查询核销订单
static NSString *const kOrderQueryUrl = @"productorder/query";
//查询账户信息
static NSString *const kAccountGetUrl = @"account/get";
//查询加油员账户流水列表
static NSString *const kAccountQueryUrl = @"account/query";
static NSString *const kRePrintUrl = @"printer/printRefuelBill";
//根据兑换码获取订单
static NSString *const kGetTicketUrl = @"productorder/getByCheckKey?checkKey=";
static NSString *const kCheckTicketUrl = @"productorder/check";
static NSString *const kWatchLogin = @"stationUser/token/send";

//查询用户申请提现记录
static NSString *const kUserCashRecord = @"cash/query";
//提交工分申请
static NSString *const kCashApply = @"cash/apply";
//绑定用户微信unionId
static NSString *const kModifyUserWxUid = @"stationUser/save/openId";
static NSString *const kUrlCheck = @"order/check";

#endif /* URL_h */
