广告相关API (版本:1.0)

API描述
GET api/v1/Banner/GetBanners?bannerPosition={bannerPosition}&itemCount={itemCount}&page={page}&CityId={CityId}

获取广告

GET api/v1/Banner/GetIndexBanner?CityId={CityId}

获取首页广告列表,包括顶部slider、4格推荐、目的地推荐

GET api/v1/Banner/GetTravelBanner?CityId={CityId}

获取旅游首页广告,包括顶部slider、4格目的地推荐

GET api/v1/Banner/GetBanner?id={id}

获取指定广告

Commission_v1

提成相关API (版本:1.0)

API描述
GET api/v1/Commission/GetCommissions?accountId={accountId}&pageIndex={pageIndex}&pageCount={pageCount}

[需登录]获取当前登录用户分销账户的提成列表

GET api/v1/Commission/ApplyWithdraw?accountId={accountId}

[需登录]提现,取出所有可以提现的金额

GET api/v1/Commission/GetCommissionSummary?accountId={accountId}

[需登录]获取提成概况

GET api/v1/Commission/GetWithdraws?accountId={accountId}&pageIndex={pageIndex}&pageCount={pageCount}

[需登录]获取当前登录用户的提现列表

GET api/v1/Commission/UpdatePreferentialRate?accountId={accountId}&rate={rate}

[需登录]设置优惠码优惠比例

GET api/v1/Commission/GetPreferentialRate?code={code}

[需登录]获取邀请码对应的邀请优惠比例

GET api/v1/Commission/GetDistrAccount?accountId={accountId}

[需登录]获取分销账户信息

GET api/v1/Commission/DistrAccountQrCode?accountId={accountId}

获取分销账户的二维码图片

POST api/v1/Commission/BindRefereeCode

绑定优惠码

GET api/v1/Commission/GetBindRefereeCode?longitude={longitude}&latitude={latitude}

[需登录]获取绑定的优惠码

GET api/v1/Commission/GetCommissionsProducts?keyword={keyword}&businessType={businessType}&sortType={sortType}&pageIndex={pageIndex}&pageCount={pageCount}

返回分销商品

POST api/v1/Commission/BindBankAccount/{accountId}

绑定提现账号

GET api/v1/Commission/GetBankAccount?accountId={accountId}

获取绑定的提现账号

Coupon_v1

优惠券API (版本:1.0)

API描述
GET api/v1/Coupon/GetCoupons?platform={platform}&dealerId={dealerId}&shopId={shopId}&orderDealerId={orderDealerId}&orderShopId={orderShopId}&canUse={canUse}

[需登录]获取用户优惠券的数据列表

GET api/v1/Coupon/GetMyCoupons?platform={platform}&isUse={isUse}&isExpire={isExpire}&pageIndex={pageIndex}&pageCount={pageCount}&appId={appId}

[需登录]获取我的优惠券列表

GET api/v1/Coupon/GetVipCoupons?name={name}&isUsed={isUsed}&pageIndex={pageIndex}&pageSize={pageSize}&appId={appId}

[需登录]获取我的优惠券列表

GET api/v1/Coupon/ObtainCoupons?CouponTypeID={CouponTypeID}&Count={Count}

[需登录][需签名]用户获取优惠券

GET api/v1/Coupon/GetCouponsPush?platform={platform}

[需登录]获取用户未领取的优惠券的数据列表

GET api/v1/Coupon/GetRegBindCoupons?mobile={mobile}&code={code}

领取注册与商家绑定优惠券

GET api/v1/Coupon/CheckRegBindCoupons?mobile={mobile}

检测该手机号码是否已经领取过注册绑定红包

GET api/v1/Coupon/CreateRedShare?type={type}&itemId={itemId}

[需登录]获取要纷享的红包

GET api/v1/Coupon/GetRedShareView?code={code}

查看红包,如果已登录,直接领取红包

GET api/v1/Coupon/GetRedShare?code={code}&mobile={mobile}

领取分享红包

ScoreMall_v1

积分商城API (版本:1.0)

API描述
GET api/v1/ScoreMall/GetScoreProducts?categoryId={categoryId}&recommend={recommend}&keyWord={keyWord}&score={score}&pageIndex={pageIndex}&pageSize={pageSize}

获取积分产品

GET api/v1/ScoreMall/GetScoreProduct?id={id}

获取产品详情

GET api/v1/ScoreMall/GetScoreProductCategorys

获取积分产品分类

POST api/v1/ScoreMall/SubmitOrder

[需登录]提交积分兑换订单

GET api/v1/ScoreMall/GetUserExchanges?pageIndex={pageIndex}&pageSize={pageSize}

[需登录]积分兑换记录

Agent_v1

代理相关API (版本:1.0)

API描述
GET api/v1/Agent/GetCommissions?accountId={accountId}&pageIndex={pageIndex}&pageCount={pageCount}

[需登录]获取当前登录用户代理账户的提成列表

GET api/v1/Agent/GetUserAccount

[需登录]获取当前登录用户代理账户

Travel_v1

旅游相关API (版本:1.0)

API描述
GET api/v1/Travel/GetCategories

获取全部旅游分类

GET api/v1/Travel/GetDestinations

获取全部旅游目的地

GET api/v1/Travel/GetTravel?id={id}

获取旅游商品

GET api/v1/Travel/GetTravels?longitude={longitude}&latitude={latitude}&departureDate={departureDate}&destinationCity={destinationCity}&departureCity={departureCity}&travelCategory={travelCategory}&minPrice={minPrice}&maxPrice={maxPrice}&minRank={minRank}&sortType={sortType}&pageIndex={pageIndex}&pageCount={pageCount}&ticket={ticket}

获取旅游商品列表

GET api/v1/Travel/GetCityTravels?cityId={cityId}&ticket={ticket}&longitude={longitude}&latitude={latitude}&pageIndex={pageIndex}&pageCount={pageCount}

获取城市优先的旅游、门票产品

GET api/v1/Travel/GetShop?id={id}

获取分店信息

Deal_v1

团购相关API (版本:1.0)

API描述
GET api/v1/Deal/GetCategories

获取全部团购分类

GET api/v1/Deal/GetCategories_ID?CategoryID={CategoryID}

获取指定商品ID下的全部分类,为空返回全部分类

GET api/v1/Deal/GetDeal?id={id}

获取团购商品

GET api/v1/Deal/GetPushDeals?Ids={Ids}&Count={Count}

获取推荐的商品

GET api/v1/Deal/GetHotDeals?Count={Count}

获取热卖商品

GET api/v1/Deal/GetDeals?longitude={longitude}&latitude={latitude}&isSpecialty={isSpecialty}&orign={orign}&property={property}&keyword={keyword}&city={city}&dealCategory={dealCategory}&maxDistance={maxDistance}&minPrice={minPrice}&maxPrice={maxPrice}&minRank={minRank}&sortType={sortType}&pageIndex={pageIndex}&pageCount={pageCount}

获取附近团购商品

GET api/v1/Deal/GetShops?dealer={dealer}&longitude={longitude}&latitude={latitude}&pageIndex={pageIndex}&pageCount={pageCount}

获取指定商家的各个分店

GET api/v1/Deal/GetShop?id={id}

获取分店信息

GET api/v1/Deal/GetSpecialtyFilter

获取筛选条件

GET api/v1/Deal/DealQrCode?id={id}

获取产品二维码

Account

用户账号相关API

API描述
GET api/Account/GetStoredConsumeList?AppId={AppId}&RecordType={RecordType}

获取会员消费信息

GET api/Account/GetWxOAuthUserInfo?appid={appid}&code={code}

获取微信授权后的用户信息

GET api/Account/GetVerifyCodeImage?type={type}

获取验证码图片

GET api/Account/GetVerification?mobile={mobile}&type={type}&verifyKey={verifyKey}&verifyCode={verifyCode}&sign={sign}

获取验证码

POST api/Account/SignupByThirdPart

第三方注册

GET api/Account/SigninByThirdPart?thirdPart={thirdPart}&id={id}&id2={id2}&appid={appid}&currAppid={currAppid}

第三方登录接口

POST api/Account/Signup

用户快速注册

POST api/Account/SmsSignin

通过手机验证码登录

POST api/Account/Signin

用户登录

GET api/Account/UnBind?thirdPart={thirdPart}&appid={appid}

解绑第三方账号绑定

GET api/Account/CheckSignin

[需登录] 检测当前用户登录信息

GET api/Account/GetWlifeUser

[需登录]按策略获取平台用户信息

GET api/Account/GetWlifeUserWithAppId?AppId={AppId}

通过appID获取用户信息

GET api/Account/GetCreateHotelUser

[需登录]获取(没有则建立)酒店用户

GET api/Account/GetUserRelatedInfo

获取用户相关信息

POST api/Account/ChangePassword

[需登录] 修改密码

POST api/Account/ChangeUserInfo

[需登录] 修改用户信息

GET api/Account/BirthdayEdit?birthday={birthday}

[需登录]设置用户生日

POST api/Account/ForgetPassword

忘记密码

POST api/Account/UploadHeadImage

[需登录] 上传头像

GET api/Account/Signout

[需登录] 退出当前用户

POST api/Account/CreateSigning

我要签约保存

POST api/Account/GetSignings

获取我要签约列表

POST api/Account/GetRecommends

获取我的推荐列表

GET api/Account/GetReferrer

获取引荐人列表

POST api/Account/CreateRecommend

我要推荐保存

SelfCheckinTest_v1

自助机相关API (版本:1.0)

API描述
GET api/v1/SelfCheckinTest/Online?Id={Id}

No documentation available.

GET api/v1/SelfCheckinTest/PmsCheckIn

No documentation available.

GET api/v1/SelfCheckinTest/GetVipCharge?uid={uid}

No documentation available.

GET api/v1/SelfCheckinTest/GetHotelDay?id={id}

POST api/v1/SelfCheckinTest/PoliceApiCheckInTest?id={id}

No documentation available.

POST api/v1/SelfCheckinTest/PoliceApiCheckOutTest?id={id}&recordNo={recordNo}

No documentation available.

POST api/v1/SelfCheckinTest/HangXinPoliceApiCheckInTest

No documentation available.

POST api/v1/SelfCheckinTest/GuiZhouPoliceApiCheckInTest

No documentation available.

POST api/v1/SelfCheckinTest/GuiZhouZiNanPoliceApiCheckInTest

No documentation available.

POST api/v1/SelfCheckinTest/SiChuanPoliceApiCheckInTest

No documentation available.

POST api/v1/SelfCheckinTest/ZZBVerify

No documentation available.

POST api/v1/SelfCheckinTest/HGSelfAgent?hotelid={hotelid}&roomid={roomid}

No documentation available.

POST api/v1/SelfCheckinTest/TestXieZhu

测试入住

POST api/v1/SelfCheckinTest/TestBYH

测试入住

GET api/v1/SelfCheckinTest/TestBYHGetGetRoomTypeRooms

测试入住

GET api/v1/SelfCheckinTest/TestYYLockSendBluetoothTTLock

测试入住

GET api/v1/SelfCheckinTest/TestStoredConsumeList?hotelId={hotelId}&phone={phone}

测试获取会员消费信息

GET api/v1/SelfCheckinTest/TestGetPmsLiveRegOrder

获取在住登记单

GET api/v1/SelfCheckinTest/testXieZhePay?checkInPayId={checkInPayId}

测试返回支付二维码

GET api/v1/SelfCheckinTest/testBYHResult?checkInPayId={checkInPayId}

No documentation available.

GET api/v1/SelfCheckinTest/testBYHAgent

No documentation available.

GET api/v1/SelfCheckinTest/testXieZhePayResult?checkInPayId={checkInPayId}

测试支付结果

GET api/v1/SelfCheckinTest/testXieZheCheckOut?hotelId={hotelId}&regOrderId={regOrderId}

测试退房

POST api/v1/SelfCheckinTest/SmsTest?phoneNumber={phoneNumber}&regOrderId={regOrderId}

短信发送测试

POST api/v1/SelfCheckinTest/testRev

POST api/v1/SelfCheckinTest/testpub

No documentation available.

POST api/v1/SelfCheckinTest/AiTest?type={type}

可控

FaceVerify_v1

人脸核验相关接口

API描述
POST api/v1/FaceVerify/FaceidDoLivenessUrl

返回跳转去Faceid核验的url

POST api/v1/FaceVerify/FaceidLivenessNotify

faceid活体验证接口通知

POST api/v1/FaceVerify/FaceCompare

人脸比对

POST api/v1/FaceVerify/AddFaceToFacesetGroup?guestId={guestId}

上传人脸到人脸组

POST api/v1/FaceVerify/GetFacesetGroupFaceList?hotelId={hotelId}&start={start}&length={length}

获取人脸组中的人脸列表yue

POST api/v1/FaceVerify/DeleteFaceFromFacesetGroup?guestId={guestId}

删除人脸组中的人脸信息

POST api/v1/FaceVerify/SearchFaceFromFacesetGroup?guestId={guestId}

从人脸组中搜索人脸

POST api/v1/FaceVerify/SearchFaceFromFacesetGroupByBase64

从人脸组中搜索人脸

POST api/v1/FaceVerify/ZZBFaceCompare

中证宝身份人脸核验

GET api/v1/FaceVerify/FacTest

GET api/v1/FaceVerify/Test?hotelId={hotelId}

GET api/v1/FaceVerify/Token

No documentation available.

SelfCheckin_v1

自助机相关API (版本:1.0)

API描述
GET api/v1/SelfCheckin/Token

获取访问token(暂时不使用)

GET api/v1/SelfCheckin/Token2?query={query}

获取访问token(暂时不使用)

POST api/v1/SelfCheckin/CreateOrder

建立自助机登记单

GET api/v1/SelfCheckin/OrderCheckIn?regOrderId={regOrderId}

登记单入住

POST api/v1/SelfCheckin/GetDeposit

计算押金

POST api/v1/SelfCheckin/CreateSelfCheckInPay

创建自住支付单

GET api/v1/SelfCheckin/CreatePayQRCode?checkInPayId={checkInPayId}

建立支付二维码

POST api/v1/SelfCheckin/ClientUpdateInfo

获取升级信息

POST api/v1/SelfCheckin/GetPobliceGrant?key={key}

No documentation available.

POST api/v1/SelfCheckin/ClientReStartUpdateStatus?key={key}

客户端重启后更新状态

GET api/v1/SelfCheckin/GetSelfCheckinConfig?key={key}

获取自助机配置

GET api/v1/SelfCheckin/GetPmsHotelOrder?hotelId={hotelId}&allocationId={allocationId}&hotelOrderId={hotelOrderId}

获取pms的订单信息

POST api/v1/SelfCheckin/GetPmsHotelOrders

自助机查询pms的订单

POST api/v1/SelfCheckin/GetCloudPmsHotelOrders

云自助查询pms订单

POST api/v1/SelfCheckin/GetCloudPmsOTAHotelOrders

云自助查询pms订单

POST api/v1/SelfCheckin/CreatePayQRCodeForVipRecharge

建立支付会员充值二维码

POST api/v1/SelfCheckin/QRCodePayQuery

查询扫码支付结果

GET api/v1/SelfCheckin/GetRoomTypeRooms?hotelId={hotelId}&checkInDay={checkInDay}&checkOutDay={checkOutDay}&roomTypeId={roomTypeId}

查询某个房型可入住房间

GET api/v1/SelfCheckin/GetSpecialRoomTypeRooms?hotelId={hotelId}&checkInDay={checkInDay}&checkOutDay={checkOutDay}&roomTypeId={roomTypeId}

查询特殊房型可入住房间

POST api/v1/SelfCheckin/SendPmsRoomPassword

发送房间门锁密码

POST api/v1/SelfCheckin/SendPmsRoomIcCard

发送房间IC卡到门锁

GET api/v1/SelfCheckin/GetDoorLockInfo?hotelId={hotelId}&roomNumber={roomNumber}

获取门锁信息

GET api/v1/SelfCheckin/GetRegOrderLockInfo?hotelId={hotelId}&regOrderId={regOrderId}&pmsRegOrderId={pmsRegOrderId}

获取登记单的密码锁相关信息

POST api/v1/SelfCheckin/GetPmsLiveRegOrder

获取pms在住登记单

GET api/v1/SelfCheckin/CheckLiveRegOrder?hotelId={hotelId}&idCardNumber={idCardNumber}

检测身份证是否已经在住

GET api/v1/SelfCheckin/PmsCheckoutNotify?hotelId={hotelId}&regOrderId={regOrderId}&checkoutType={checkoutType}&isOnlineLock={isOnlineLock}

通知退房(挂账退房)

GET api/v1/SelfCheckin/GetPmsRegOrder?hotelId={hotelId}&regOrderId={regOrderId}

获取pms登记单信息

POST api/v1/SelfCheckin/GetPmsOverStayPrice

获取续住价格

POST api/v1/SelfCheckin/PmsRegOrderOverStay

自助机登记单续住

POST api/v1/SelfCheckin/PmsRegOrderOverStayByOTAOrder

POST api/v1/SelfCheckin/PmsRegOrderOverStayByNewOrder

自助机登记单换单续住

POST api/v1/SelfCheckin/PmsRegOrderOverStayByHour

自助机登记单按时长续住

GET api/v1/SelfCheckin/GetHotelUserByParam?hotelId={hotelId}&mobile={mobile}&idCardNo={idCardNo}

按手机号码或者身份证号获取酒店会员信息,参数优先顺序:mobile>idCardNo

POST api/v1/SelfCheckin/GetRoomTypes

获取酒店每日房型价

POST api/v1/SelfCheckin/GetGoodsPrices

获取酒店每日产品价

GET api/v1/SelfCheckin/GetRoomInfo?hotelId={hotelId}&pmsRoomId={pmsRoomId}

获取房间信息

GET api/v1/SelfCheckin/GetRoomTypePrice?hotelId={hotelId}&hotelVipId={hotelVipId}&channelId={channelId}&roomTypeId={roomTypeId}&goodsId={goodsId}&checkInDate={checkInDate}&checkOutDate={checkOutDate}

获取指定房型价格

GET api/v1/SelfCheckin/GetHotelDay?hotelId={hotelId}

获取酒店营业日

GET api/v1/SelfCheckin/GetRegOrder?hotelId={hotelId}&regOrderId={regOrderId}&pmsRegOrderId={pmsRegOrderId}

获取自助机入住登记的

POST api/v1/SelfCheckin/CreateUserRelation

新建或更新常用入住人

GET api/v1/SelfCheckin/GetUserRelation

查询常用入住人

GET api/v1/SelfCheckin/DelUserRelation?userRelationId={userRelationId}

删除常用入住人

POST api/v1/SelfCheckin/CreateWxMpPayInfo

微信统一预下单,获取公众号唤起微信支付的信息

GET api/v1/SelfCheckin/GetSelfCheckInPay?id={id}

自助登记单支付状态查询

GET api/v1/SelfCheckin/GetOrderCheckInResult?id={id}

自助登记单支付状态查询 (原逻辑调用【GetSelfCheckInPay】 查询结果成功后,再进行调用【OrderCheckIn】;改成回调的时候,更新支付结果的同时预订单转登记入住。前端则改查询该订单是否 入住即可。

GET api/v1/SelfCheckin/GetMyRegOrders?hotelId={hotelId}&status={status}&pageIndex={pageIndex}&pageSize={pageSize}

获取我的自住入住记录

GET api/v1/SelfCheckin/GetReserveOrders?hotelId={hotelId}&status={status}&pageIndex={pageIndex}&pageSize={pageSize}

获取我的预订单(预订单状态:待支付、已支付。 //TODO

GET api/v1/SelfCheckin/GetHotelSelfCheckinKeys?dealerId={dealerId}

获取商家的所有酒店对应key

GET api/v1/SelfCheckin/GetPmsRegAccount?hotelId={hotelId}&pmsRegOrderId={pmsRegOrderId}

获取pms登记单账单列表

GET api/v1/SelfCheckin/GetMyRegOrder?id={id}

获取我的自住入住记录

POST api/v1/SelfCheckin/GetMyRegOrdersPost

获取我的自住入住记录

GET api/v1/SelfCheckin/GetPmsRegOrderRoomAccount?hotelId={hotelId}&pmsRegOrderId={pmsRegOrderId}

获取pms登记单房费账单列表

GET api/v1/SelfCheckin/CheckIsAddFee?hotelId={hotelId}&pmsRegOrderId={pmsRegOrderId}&roomNumber={roomNumber}

No documentation available.

GET api/v1/SelfCheckin/CheckoutDirect?hotelId={hotelId}&pmsRegOrderId={pmsRegOrderId}&roomNumber={roomNumber}

直接结账退房

POST api/v1/SelfCheckin/GetHourRoomPrice

获取钟点房价格

GET api/v1/SelfCheckin/GetDoorLockUrl?hotelId={hotelId}&pmsRegOrderId={pmsRegOrderId}

获取客控房房控链接

GET api/v1/SelfCheckin/GetCanAddGuestRegOrder?hotelId={hotelId}&guestNo={guestNo}

按客人编号查询可添加同住人的房间

POST api/v1/SelfCheckin/CreateAddGuestRegOrder

添加同住人

POST api/v1/SelfCheckin/RegOrderAddGuest

添加同住人

POST api/v1/SelfCheckin/AddLockRoom?hotelId={hotelId}&preOrderId={preOrderId}

添加锁房

POST api/v1/SelfCheckin/apiTest

测试接口(触发生日规则事件)

GET api/v1/SelfCheckin/connectionTest

测试网络是否联通

GET api/v1/SelfCheckin/GetHourRoomPriceSchemes?hotelId={hotelId}&roomTypeId={roomTypeId}&pmsRoomTypeId={pmsRoomTypeId}

获取钟点房价格方案

POST api/v1/SelfCheckin/PoliceApiCheckIn

治安接口入住

POST api/v1/SelfCheckin/PoliceApiCheckOut

治安接口退房

POST api/v1/SelfCheckin/UpdateRegOrderAfterPoliceApiCheckIn

治安接口入住后更新登记单

POST api/v1/SelfCheckin/UpdateRegOrderAfterPoliceApiCheckOut

治安接口退房后更新登记单

POST api/v1/SelfCheckin/ReUploadAIControlFaceInfo

重新上传客控人脸信息

POST api/v1/SelfCheckin/PoliceApiCheckInPms

No documentation available.

POST api/v1/SelfCheckin/PoliceApiCheckOutPms

No documentation available.

POST api/v1/SelfCheckin/CreateInvoice

开发票

GET api/v1/SelfCheckin/GetInvoice?invoiceId={invoiceId}&regOrderId={regOrderId}

通过开发票接口查询开发票结果

GET api/v1/SelfCheckin/SendInvoiceSms?hotelId={hotelId}&phoneNumber={phoneNumber}

发送开发票链接短信

POST api/v1/SelfCheckin/SearchFaceForBreakfast

刷脸早餐

GET api/v1/SelfCheckin/GetNeedPayAmount?hotelId={hotelId}&regOrderId={regOrderId}

获取登记单剩余应付金额

POST api/v1/SelfCheckin/AddCustomer

POST api/v1/SelfCheckin/AddSelfTerminalPay

添加通联支付订单的信息

GET api/v1/SelfCheckin/GetSelfTerminalPayInfo?regOrderId={regOrderId}

通过登记单获取通联支付订单的信息

POST api/v1/SelfCheckin/SendVipCardSMS

发送短信验证码

POST api/v1/SelfCheckin/SendDingTalkMessage?template={template}

No documentation available.

POST api/v1/SelfCheckin/SendDingDingMsg

No documentation available.

POST api/v1/SelfCheckin/SendWxComMsg

No documentation available.

GET api/v1/SelfCheckin/GetProtocolUnit?hotelId={hotelId}&ProtocolUnitName={ProtocolUnitName}

No documentation available.

POST api/v1/SelfCheckin/OpenLock

在线开锁

GET api/v1/SelfCheckin/GetUnlicenCheckInConfig?hotelId={hotelId}

获取无证入住配置项

POST api/v1/SelfCheckin/EditUnlicenCheckInConfig

编辑无证入住配置项

POST api/v1/SelfCheckin/GetUserOrderPayResult

获取用户订单支付结果

GET api/v1/SelfCheckin/GetNoCheckInReserveOrders?hotelId={hotelId}&userId={userId}&phone={phone}

获取预抵数据(获取预抵数据

GET api/v1/SelfCheckin/BluetoothLock?hotelId={hotelId}&regOrderId={regOrderId}&pmsRegOrderId={pmsRegOrderId}

蓝牙开门

GET api/v1/SelfCheckin/CheckIsNeedAddFee?hotelId={hotelId}&regOrderId={regOrderId}&pmsRegOrderId={pmsRegOrderId}

No documentation available.

GET api/v1/SelfCheckin/AddFeeInCheckOut?hotelId={hotelId}&regOrderId={regOrderId}&pmsRegOrderId={pmsRegOrderId}

No documentation available.

POST api/SelfCheckin_v1?birthDay={birthDay}

根据出生日期,计算精确的年龄

GET api/SelfCheckin_v1?identityCard={identityCard}

根据身份证获取年龄

HotelCommodity

API描述
GET api/v1/HotelCommodity/CreateUploadToken?hotelId={hotelId}&category={category}&fileName={fileName}

获取七牛token

Wx_v1

API描述
POST api/v1/wx/ComponentAuthEventPush?signature={signature}&timestamp={timestamp}&nonce={nonce}&msg_signature={msg_signature}&encrypt_type={encrypt_type}

微信第三方平台事件推送

POST api/v1/wx/ComponentMpMessage/{id}?signature={signature}&timestamp={timestamp}&nonce={nonce}&msg_signature={msg_signature}&openid={openid}&encrypt_type={encrypt_type}

微信第三方平台公众号消息

GET api/v1/wx/ComponentMpMessage/{id}?signature={signature}&timestamp={timestamp}&nonce={nonce}&echostr={echostr}

微信消息测试

City_v1

城市相关API (版本:1.0)

API描述
GET api/v1/City/GetCities?longitude={longitude}&latitude={latitude}

获取开通城市

GET api/v1/City/GetCitiesAndDefault?longitude={longitude}&latitude={latitude}&wx={wx}&dealerId={dealerId}

获取已开通了纷享业务或者酒店业务的城市和所在城市

GET api/v1/City/WxToBaiduGeo?longitude={longitude}&latitude={latitude}

微信到百度地址转换

GET api/v1/City/GetCities2?longitude={longitude}&latitude={latitude}

获取开通城市(使用X-Total-Count响应头报文返回)

Activity_v1

活动相关API (版本:1.0)

API描述
GET api/v1/Activity/GetActivity?id={id}

获取活动信息

GET api/v1/Activity/AddNotify?activityId={activityId}

[需登录]订阅活动提醒

GET api/v1/Activity/GetUserGameProps?activityId={activityId}

[需登录]获取游戏道具

GET api/v1/Activity/GetUserPropCounts?activityId={activityId}

[需登录]获取游戏道具剩余数量

GET api/v1/Activity/SwingChristmasTree

[需登录]获取游戏道具

GET api/v1/Activity/BreakEgg?hammer={hammer}

[需登录]获取游戏道具

GET api/v1/Activity/DoActivityKeyWord?activityId={activityId}&keyword={keyword}

按关键词参与某项活动

POST api/v1/Activity/ActivityShare

分享活动

GET api/v1/Activity/GameLottery?activityId={activityId}&propEnum={propEnum}

游戏抽奖

GET api/v1/Activity/GetBargain?id={id}

获取砍价活动信息

POST api/v1/Activity/GetBargainObject

获取用户砍价信息

GET api/v1/Activity/GetBargainObject?id={id}

获取用户砍价信息

POST api/v1/Activity/AddBargainRecord

GET api/v1/Activity/GetBargainObjectGift?id={id}

[需登录]获取砍价奖励

POST api/v1/Activity/UpdateActivityKeywordCache

刷新关键词缓存

GET api/v1/Activity/GetUnpackBox?id={id}

获取拆礼盒活动信息

POST api/v1/Activity/GetUnpackBoxObject

获取用户拆礼盒活动信息

GET api/v1/Activity/GetUnpackBoxObject?id={id}

获取用户拆礼盒活动信息

POST api/v1/Activity/AddUnpackBoxRecord

好友送碎片

PayManager

支付管理

API描述
POST api/v1/Pay/SuBuyPayNotify

扫码扫呗支付回调 注:控制回调时间3秒内避免重复通知

POST api/v1/Pay/SuBuyPayNotifyTest

测试

Test

API描述
GET api/v1/Test/Token

No documentation available.

GET api/v1/Test/GetSmsTemplate?hotelId={hotelId}&name={name}

No documentation available.

User_v1

用户管理相关API (版本:1.0)

API描述
POST api/v1/User/UserCollectionGet?Type={Type}&pageIndex={pageIndex}&pageCount={pageCount}

[需登录]用户收藏信息

POST api/v1/User/UserCollectionAdd

[需登录]添加收藏

GET api/v1/User/UserCollectionDelete?Ids={Ids}

[需登录]删除收藏

POST api/v1/User/UserCollectionAlter

[需登录]修改收藏

GET api/v1/User/UserCollectionExist?itemId={itemId}&type={type}

是否搜藏过某个商品

POST api/v1/User/RecAddressGet?getDefault={getDefault}

[需登录]获取收货地址

POST api/v1/User/RecAddressAdd

[需登录]新增收货地址

POST api/v1/User/RecAddressAlter?IsDefault={IsDefault}

[需登录]修改收货地址

POST api/v1/User/RecAddressDelete?ID={ID}

[需登录]删除收货地址

GET api/v1/User/RecAddressSetDefault?id={id}

[需登录]设置默认地址

POST api/v1/User/ShoppingCarGet

[需登录]获取购物车商品

POST api/v1/User/ShoppingCarAdd

[需登录]新增购物车

POST api/v1/User/ShoppingCarAmountGet

[需登录]获取购物车数量

POST api/v1/User/ShoppingCarDelete?Ids={Ids}

[需登录]删除购物车

POST api/v1/User/ShoppingCarAlter

[需登录]修改购物车

POST api/v1/User/UserSignGet

[需登录]获取签到信息

POST api/v1/User/UserSign

[需登录]用户签到

GET api/v1/User/Lottery?type={type}

抽奖

GET api/v1/User/LotteryCount

抽奖次数

GET api/v1/User/LotteryGiftCount

中奖次数

GET api/v1/User/LotteryRecords?pageIndex={pageIndex}&pageSize={pageSize}

用户中奖记录

GET api/v1/User/ScoreRecords?pageIndex={pageIndex}&pageCount={pageCount}

[需登录]用户积分记录

GET api/v1/User/GiftBoxs?dealerId={dealerId}&pageIndex={pageIndex}&pageCount={pageCount}

[需登录]用户法宝列表

GET api/v1/User/GiftEnableBoxs?hotelId={hotelId}&checkInDate={checkInDate}&getFreeGift={getFreeGift}&dealerId={dealerId}

[需登录]返回所有可用法宝

GET api/v1/User/GetGiftBoxByCode?code={code}

No documentation available.

GET api/v1/User/GetTasks

GET api/v1/User/GetTaskAward?ucid={ucid}

[需登录]领取任务奖励

GET api/v1/User/GetHotelTasks

[需登录]获取用户酒店任务

GET api/v1/User/GetHotelUser?hotelId={hotelId}

获取当前用户的酒店VIP卡信息

GET api/v1/User/GetUserInfo?userId={userId}&mobile={mobile}

GET api/v1/User/GetUserByHotelOrder?hotelOrderId={hotelOrderId}&mobile={mobile}

Hotel_v1

酒店相关API (版本:1.0)

API描述
GET api/v1/Hotel/GetCategories

获取全部酒店分类

GET api/v1/Hotel/GetHotels?longitude={longitude}&latitude={latitude}&checkInDate={checkInDate}&checkOutDate={checkOutDate}&priorityDealerId={priorityDealerId}&joinAlliance={joinAlliance}&city={city}&keyword={keyword}&hotelCategory={hotelCategory}&maxDistance={maxDistance}&service={service}&shopProperty={shopProperty}&onlyDealer={onlyDealer}&pageIndex={pageIndex}&pageCount={pageCount}&dealerPlatform={dealerPlatform}&isFormWx={isFormWx}

获取酒店列表

GET api/v1/Hotel/GetHotel?id={id}

获取酒店详情

GET api/v1/Hotel/GetRoomOrder?checkIn={checkIn}&checkOut={checkOut}&hotelId={hotelId}&roomId={roomId}&agentKey={agentKey}

[需登录]获取房间订单详情

GET api/v1/Hotel/GetRoomPrice?checkIn={checkIn}&checkOut={checkOut}&roomId={roomId}&comboId={comboId}

获取房间价格

GET api/v1/Hotel/GetRoomPrices?checkIn={checkIn}&checkOut={checkOut}&roomId={roomId}&comboId={comboId}

获取所有会员类型的房间价格

GET api/v1/Hotel/GetMemberRoomPrices?checkIn={checkIn}&checkOut={checkOut}&roomId={roomId}&memberType={memberType}&comboId={comboId}

获取所有会员类型的房间价格

GET api/v1/Hotel/GetHotelRoom?roomId={roomId}

获取房型

GET api/v1/Hotel/GetHotelRooms?hotel={hotel}&checkInDate={checkInDate}&checkOutDate={checkOutDate}&minPrice={minPrice}&maxPrice={maxPrice}&minRank={minRank}&sortType={sortType}

获取指定酒店分店的房间

GET api/v1/Hotel/HotelOrderStatusPush?orderId={orderId}&category={category}&sign={sign}&client_id={client_id}

酒店订单状态推送

POST api/v1/Hotel/ZxyHotelOrderStatusPush?action={action}&sign={sign}&ClientID={ClientID}

智选云推送(包括订单状态推送、会员推送等)

GET api/v1/Hotel/UpdatePriceCache

更新缓存

GET api/v1/Hotel/GetHotelPriceBoard?id={id}

获取价格牌设置

GET api/v1/Hotel/GetSelfCheckinConfig?id={id}

获取自助机配置

POST api/v1/Hotel/AddInvoice

获取

GET api/v1/Hotel/Ping

测试服务是否还在线

HEAD api/v1/Hotel/Ping

测试服务是否还在线

GET api/v1/Hotel/GetPmsRooms?hotelId={hotelId}

获取pms的房间

GET api/v1/Hotel/PushReport?reportDate={reportDate}&dealerId={dealerId}&hotelId={hotelId}

报表推送

POST api/v1/Hotel/AddHotelRoomFeature

新增酒店房间特性

POST api/v1/Hotel/AddRoomFeatureRelations

添加房间特性关系表数据

GET api/v1/Hotel/GetDealerID?AppId={AppId}

GET api/v1/Hotel/GetHotelInfo?hotelId={hotelId}

酒店Id

POST api/v1/Hotel/SendSmsSelfCheckIn

发送自助入住短信

GET api/v1/Hotel/GetEncryptResult?appId={appId}&openId={openId}

appid openid加密

GET api/v1/Hotel/GetHotelOnlineServiceInfo?appId={appId}

根据appid获取当前集团下所有酒店客服

Common_v1

公共方法相关API (版本:1.0)

API描述
GET api/v1/Common/GetNearby?nearbyType={nearbyType}&longitude={longitude}&latitude={latitude}&keyword={keyword}&city={city}&dealCategory={dealCategory}&maxDistance={maxDistance}&minPrice={minPrice}&maxPrice={maxPrice}&minRank={minRank}&sortType={sortType}&pageIndex={pageIndex}&pageCount={pageCount}

获取附近商品

GET api/v1/Common/SearchNearby?nearbyType={nearbyType}&longitude={longitude}&latitude={latitude}&keyword={keyword}&city={city}&dealCategory={dealCategory}&maxDistance={maxDistance}&minPrice={minPrice}&maxPrice={maxPrice}&minRank={minRank}&sortType={sortType}&pageIndex={pageIndex}&pageCount={pageCount}&nearby={nearby}&dealerPlatform={dealerPlatform}

搜索商品,如果nearby为true,将搜索附近商品,会过滤未填写坐标的商品

GET api/v1/Common/GetComments?id={id}&type={type}&pageIndex={pageIndex}&pageCount={pageCount}

获取评论列表

GET api/v1/Common/GetTopComments?id={id}&type={type}&top={top}

获取有内容的前几条评论,排序规则是:评分、时间

GET api/v1/Common/GetAppCityConfig?cityId={cityId}

获取不同城市的app配置

GET api/v1/Common/GetAppCityConfigs

返回所有城市的APP配置

GET api/v1/Common/ShortUrl?url={url}

短网址

POST api/v1/Common/WxToken?appid={appid}

获取微信api Access_Token,统一管理以便不互相覆盖

GET api/v1/Common/GetQrValue?p={p}

识别二维码类型

GET api/v1/Common/GetCombo?id={id}

获取套餐信息

POST api/v1/Common/CreateActivityNo

苹果7活动

POST api/v1/Common/WxSendTmplMessage

发送微信模板消息

POST api/v1/Common/ShareActivity

分享活动

POST api/v1/Common/GameScorePost

[NeedJsonSign]活动游戏分数提交

GET api/v1/Common/GetWxConfigs?time={time}&nonceStr={nonceStr}

GET api/v1/Common/ReloadWxConfigs

GET api/v1/Common/ReloadAliPayConfigs?time={time}&nonceStr={nonceStr}

No documentation available.

GET api/v1/Common/GetHotelAgentConfigs?time={time}&nonceStr={nonceStr}

获取预订接口配置

GET api/v1/Common/ReloadHotelAgentConfigs?time={time}&nonceStr={nonceStr}

GET api/v1/Common/ReloadHotelSCAgentConfigs?time={time}&nonceStr={nonceStr}

刷新自助机接口配置

GET api/v1/Common/GetTaskStatus?time={time}&nonceStr={nonceStr}

获取后台任务状态

GET api/v1/Common/UpdateWxAutoReplyCache?appid={appid}

更新自动回复缓存

GET api/v1/Common/GetDealerInfo?host={host}

根据域名获取对应的商家信息

GET api/v1/Common/GetClientHeaders

获取客户端请求头相关信息

GET api/v1/Common/GetAllVisitCache

GetAllVisitCache

GET api/v1/Common/Test

No documentation available.

Bet_v1

竞猜相关

API描述
GET api/v1/Bet/GetGames?activeId={activeId}&gameType={gameType}

获取竞猜列表

GET api/v1/Bet/GetGame?id={id}

获取单场赛事

GET api/v1/Bet/GetUserOrders?activeId={activeId}

[需登录]获取竞猜订单列表

POST api/v1/Bet/PlaceOrder

投注

GET api/v1/Bet/GetUserOrdersJt?cardId={cardId}&activeId={activeId}

获取精通订单

POST api/v1/Bet/PlaceOrderJt

精通投注

POST api/v1/Bet/HelpOrder

竞猜助攻

GET api/v1/Bet/GetOrder?orderId={orderId}

获取助攻订单

GET api/v1/Bet/GetOrderJt?orderId={orderId}

获取精通助攻订单

GET api/v1/Bet/GetHelpOrders?orderId={orderId}&isJt={isJt}

返回助攻类表

GET api/v1/Bet/GetBillboard?activeId={activeId}

获取竞猜排行榜

GET api/v1/Bet/GetContinuousOrderDays?isJt={isJt}&jtCarId={jtCarId}

返回连续竞猜天数

Order_v1

订单相关API (版本:1.0)

API描述
GET api/v1/Order/GetMyOrders?status={status}&pageIndex={pageIndex}&pageCount={pageCount}

[需登录] 获取当前用户的订单

GET api/v1/Order/GetMyOrder?id={id}

[需登录] 获取指定的订单

GET api/v1/Order/GetOrderCodes?orderId={orderId}

[需登录]获取用户订单的验证码

POST api/v1/Order/CancelOrder?orderId={orderId}

[需登录]取消订单

POST api/v1/Order/PlaceOrder

[需登录] 下单

GET api/v1/Order/OnlineRefundOrder?orderId={orderId}&reasonType={reasonType}&reason={reason}

[需登录]订单退款

GET api/v1/Order/Numberofmagicweapons?dealerId={dealerId}

返回当前使用法宝商家是否开启每日限制

POST api/v1/Order/HotelOrderByGift

积分、法宝预订免费房

POST api/v1/Order/MakeComment

[需登录] 评论订单

GET api/v1/Order/GetLogisticInfo?orderId={orderId}

POST api/v1/Order/UploadImages?commentID={commentID}

[需登录] 上传评论图片

GET api/v1/Order/GetPreferentialRate?code={code}

获取邀请码对应的邀请优惠比例

GET api/v1/Order/CreateAliPayinfo?orderId={orderId}

[需登录] 生成支付宝支付参数

POST api/v1/Order/CreateWxMpPayInfo

微信统一预下单

POST api/v1/Order/GetOverStayPrice

获取续住价格

POST api/v1/Order/OverStayOrderCreate

[需登录]平台续住订单

POST api/v1/Order/GetMyOverStayOrders

[需登录]获取自己的续住订单

GET api/v1/Order/GetOverStayOrder?id={id}

[需登录]获取续住订单信息

GET api/v1/Order/GetPmsRegOrderByOrder?hotelOrderId={hotelOrderId}

获取预订单对应的pms登记单信息

POST api/v1/Order/AddVipChargeOrderCreate

创建充值订单

POST api/v1/Order/GetVipChargeOrderDetail?id={id}

获取充值订单详情

POST api/v1/Order/GetVipChargeOrders

获取用户充值订单

POST api/v1/Order/GetVipChargeRules

No documentation available.

POST api/v1/Order/SendVipRechargeSmsCode

发送Vip充值的短信编码

POST api/v1/Order/VipPayForSelfCheckIn

订单使用会员卡支付(自助机

POST api/v1/Order/VipPayForOrder

订单使用会员卡支付

POST api/v1/Order/VipPayForOverStayOrder

订单使用会员卡支付