// // RequestURL.swift // MyFramework // // Created by virgil on 16/2/29. // Copyright © 2016年 virgil. All rights reserved. // import UIKit let launchView: String = "launchView1.0" //用户信息 let userInfo = "userInfo" //用户登录信息 let userLogin = "userLogin" ///成功标示 let Succeed = "succeed" class RequestURL: NSObject { ///测试 //static let orgId = "29a6223fefa45841" //static let cardMain = "http://card-dev.qdrsd.top/" //static let integralMain = "http://points-dev.qdrsd.top/" ///正式 static let orgId = "1f9eca7f5758f6ca" static let cardMain = "https://card.weimilo.com/" static let integralMain = "https://points.weimilo.com/" //七牛地址前辍 static var qiNiuImageUrl = "http://img.xingchuangke.net/" static let hostAdminMain = "http://img.xingchuangke.net/" //潍坊测试 // static let W_FHost = "http://192.168.3.20:8080/wf_zhifutong_admin_war_exploded/" static let W_FHost = "http://app.xingchuangke.net/" //正式 // static let hostURL = "http://58.57.80.162:8123/wf_zhifutong_admin_war_exploded" static let baseHost = "http://data.xingchuangke.net:8889/" static let hostMain = "http://data.xingchuangke.net:8889/phoneMobile/" static let hostMainH5 = "http://data.xingchuangke.net:8889/H5/" static let hostMainH51 = "http://192.168.3.15:8086/wf_zhifutong_admin_war_exploded/" static let getQNToken = "\(hostMain)getQNToken" static let initProgram = "\(hostMain)initProgram" static let findRecCode = "\(hostMain)findRecCode" static let register = "\(hostMain)register" static let findUserById = "\(hostMain)findUserById" static let login = "\(hostMain)login" static let findBankList = "\(hostMain)findBankList" static let editUser = "\(hostMain)editUser" static let machineTypeList = "\(hostMain)machineTypeList" static let getMachineBySM = "\(hostMain)getMachineBySM" static let verificationCode = "\(hostMain)verificationCode" static let getCode = "\(hostMain)getCode" static let industryList = "\(hostMain)industryList" static let openingMerchants = "\(hostMain)openingMerchants" static let myMerchantList = "\(hostMain)myMerchantList" static let productTypeList = "\(hostMain)productTypeList" static let revenueCalculator = "\(hostMain)revenueCalculator" static let editMerchants = "\(hostMain)editMerchants" static let bandMachine = "\(hostMain)bandMachine" static let machineTypeNumList = "\(hostMain)machineTypeNumList" static let machineListAllot = "\(baseHost)user/machineListAllot" static let machineAllocationLog = "\(baseHost)user/machineAllocationLog" static let machineList = "http://data.xingchuangke.net:8889/phoneMobile/machineList" static let machineAllocation = "\(hostMain)machineAllocation" static let myAgentList = "\(hostMain)myAgentList" static let findAdvertisingWheel = "\(hostMain)findAdvertisingWheel" // 检查结算卡 static let mySettlementCard = "\(hostMain)mySettlementCard" static let settlementCardUpdate = "\(hostMain)settlementCardUpdate" static let helpPageList = "\(hostMain)helpPageList" static let cashApplication = "\(hostMain)cashApplication" static let cashApplicationWithMachineTypeId = "\(baseHost)user/cashApplicationWithMachineTypeId" static let cashApplicationWithMachineTypeIdAll = "\(baseHost)user/cashApplicationWithMachineTypeIdAll" static let cashApplicationList = "\(hostMain)cashApplicationList" static let walletList = "\(hostMain)walletList" static let newwalletList = "\(baseHost)user/walletList" static let sysConfigWeb = "\(hostMain)sysConfigWeb" static let cashApplicationSet = "\(baseHost)user/cashApplicationSet" static let userRecCode = "\(hostMain)userRecCode" static let messagePageList = "\(hostMain)messagePageList" static let myZhengshu = "\(hostMain)myZhengshu" static let findPassword = "\(hostMain)findPassword" static let updatePassword = "\(hostMain)updatePassword" static let informationTypeList = "\(hostMain)informationTypeList" static let informationPageList = "\(hostMain)informationPageList" static let uploadFile = "\(hostMain)uploadFile" static let uploadMerchantFile = "\(hostMain)uploadMerchantFile" static let provinceCityCounty = "\(hostMain)provinceCityCounty" static let getProvincesOrCity = "\(hostMain)getProvincesOrCity" static let openBankList = "\(hostMain)openBankList" static let hotActivityPageList = "\(hostMain)hotActivityPageList" static let rateConfig = "\(hostMain)rateConfig" static let myMachineInfo = "\(hostMain)myMachineInfo" static let transactionListPage = "\(hostMain)transactionListPage" static let transactionListPageNew = "\(baseHost)transaction/transactionListPage" static let myMerchantDetail = "\(hostMain)myMerchantDetail" static let myMerchantDetailXcx = "\(baseHost)kss/myMerchantDetailXcx" static let myMerchantDetailQyb = "\(hostMain)myMerchantDetailQyb" static let myMerchantDetailKys = "\(baseHost)kss/myMerchantDetailKys" static let myMerchantDetailXwsy = "\(baseHost)kss/myMerchantDetailXwsy" static let editUserType = "\(baseHost)user/editUserType" static let sumTransactionListPage = "\(hostMain)sumTransactionListPage" static let studyTypeList = "\(hostMain)studyTypeList" static let onlineList = "\(hostMain)onlineList" static let trainingList = "\(hostMain)trainingList" static let knowledgeList = "\(hostMain)knowledgeList" static let startStudy = "\(hostMain)startStudy" static let addTraining = "\(hostMain)addTraining" static let delTraining = "\(hostMain)delTraining" static let trainingDetail = "\(hostMain)trainingDetail" static let nearStudyList = "\(hostMain)nearStudyList" static let onlineDetail = "\(hostMain)onlineDetail" static let systemSetting = "\(hostMain)systemSetting?type=register_agreement" static let myMachineList = "\(hostMain)myMachineList" static let machineDetail = "\(hostMain)machineDetail" static let hostMain2 = "http://app.qmbdd.cn/phoneMobile/" static let productPageList = "\(hostMain)productPageList"//获取商城数据 // static let productPageList = "192.168.3.20:8080/wf_zhifutong_admin_war_exploded/app/xProduct/getProductList" static let productDetail = "\(hostMain)productDetail" static let createProductOrder = "\(hostMain)createProductOrder" static let orderPageList = "\(hostMain)orderPageList" static let wxSignProduct = "\(hostMain)wxSignProduct" static let alipaySign = "\(hostMain)alipaySign" static let payProductOrder = "\(hostMain)payProductOrder" static let userAddress = "\(hostMain)userAddress" static let userAddressUA = "\(hostMain)userAddressUA" static let confirmOrder = "\(hostMain)confirmOrder" static let orderDetail = "\(hostMain)orderDetail" static let agentXMInfo = "\(hostMain)agentXMInfo" static let extensionImageList = "\(hostMain)extensionImageList" static let creditCardPageList = "\(hostMain)creditCardPageList" static let scorePageList = "\(hostMain)scorePageList" static let creditNum = "\(hostMain)creditNum" static let scoreNum = "\(hostMain)scoreNum" static let creditScoreListPage = "\(hostMain)creditScoreListPage" static let creditScoreDetail = "\(hostMain)creditScoreDetail" static let qybFindBankList = "\(hostMain)qybFindBankList" static let customMccTypeList = "\(hostMain)customMccTypeList" static let mccList = "\(hostMain)mccList" static let mccNameList = "\(hostMain)mccNameList" static let getPolicyFlag = "\(baseHost)qyb/getPolicyFlag" static let openingMerchantsQyb = "\(hostMain)openingMerchantsQyb" static let termBd = "\(hostMain)termBd" static let saveAppuser = "\(hostMain)saveAppuser" static let improveInfo = "\(hostMain)improveInfo" static let bindMercBank = "\(hostMain)bindMercBank" static let hkMerchantInfo = "\(hostMain)hkMerchantInfo" static let openingMerchantsJian = "\(hostMain)openingMerchantsJian" // 活动列表 static let activityAuth = "\(W_FHost)app/activityAuth" static let rz = "\(W_FHost)app/personalSignYhs" // 机具状态管理列表 static let machineInforNum = "\(W_FHost)app/getMachineInforNum" // 商户状态列表 static let machineInforList = "\(W_FHost)app/getMachineInforList" // 查询业务顶部(本月、本日新增商户数,本月本日交易数) static let sumCountByMonthByDay = "\(hostMain)sumCountByMonthByDay" // 团队业绩根据时间搜索新作商户、新增代理、交易额 static let myAgentsPerformance = "\(baseHost)user/myAgentsPerformance" // 个人业绩 static let myPerformance = "\(baseHost)user/myPerformance" // 根据品牌查询钱包余额 static let findwalletListByMachineTypeId = "\(baseHost)user/findwalletListByMachineTypeId" // 交易方式列表 static let findSumGroupByPayType = "\(baseHost)user/findSumGroupByPayType" static let activityEdit = "\(W_FHost)app/activityEdit" // 品牌余额 static let machineTypeListWhithCash = "\(baseHost)system/machineTypeListWhithCash" // 商品列表 static let getProductList = "\(W_FHost)app/xProduct/getProductList" static let getProductType = "\(W_FHost)app/xProduct/getProductType" //购物车 //删除购物车商品 static let deleteProductOrder = "\(W_FHost)app/deleteProductOrder" //添加购物车 static let addProductOrder = "\(W_FHost)app/addProductOrder" //查看购物车列表 static let getProductOrderList = "\(W_FHost)app/getProductOrderList" //获取用户收货地址列表 static let getUserAddressList = "\(W_FHost)app/getUserAddressList" //支付部分 static let getFreight = "\(W_FHost)app/getFreight" //立即购买生成订单 static let addProductOrderMainFast = "\(W_FHost)app/addProductOrderMainFast" //购物车结算生成订单 static let addProductOrderMain = "\(W_FHost)app/addProductOrderMain" //查看用户订单列表 static let getProductOrderMainList = "\(W_FHost)app/getProductOrderMainList" //查看用户订单详情 static let getProductOrderMain = "\(W_FHost)app/getProductOrderMain" //用户确认收货 static let updateProductOrderMainStatus = "\(W_FHost)app/updateProductOrderMainStatus" //购物车获取待支付商品的重量 static let getGoPayProductList = "\(W_FHost)app/getGoPayProductList" //修改用户收货地址 static let updateUserAddress = "\(W_FHost)app/updateUserAddress" //添加用户收货地址 static let addUserAddress = "\(W_FHost)app/addUserAddress" //购物车删除收货地址 static let deleteUserAddress = "\(W_FHost)app/deleteUserAddress" //微信支付 static let wxSignProductT = "\(W_FHost)app/wxSignProduct" //支付宝支付 static let alipaySignT = "\(W_FHost)app/alipaySign" ///wf_zhifutong_admin_war_exploded //文案库获取用户授权查看类型 static let getInformationTypeName = "\(W_FHost)app/getInformationTypeName" //查询用户有权获取的支付品牌权限 static let getMachineNameList = "\(W_FHost)app/getMachineNameList" //查询某一品牌的帮助中心列表 static let getHelpQuestList = "\(W_FHost)app/getHelpQuestList" //获取银行列表 static let getCreditBankList = "http://data.xingchuangke.net:8889/credit/getCreditBankList" //提交信用卡申请信息 static let submitApplication = "http://data.xingchuangke.net:8889/credit/submitApplication" //提交信用卡申请信息 static let findResultByOrder = "http://data.xingchuangke.net:8889/credit/findResultByOrder" }