UserLog

APIDescription
POST api/UserLog/addUserLog

No documentation available.

SleepAccount

APIDescription
POST api/SleepAccount/UpdateUserInfo

更新用户信息

POST api/SleepAccount/VerificationCode

发送验证码

POST api/SleepAccount/UploadHeadImg

上传用户头像

POST api/SleepAccount/ShareInfo

type为1返回带链接的标题内容,为2返回文本型内容(只需要取content)

SleepSum

APIDescription
POST api/SleepSum/GetUserActiveDays

获取用户活跃的日期

POST api/SleepSum/GetUserInfo

获取用户主页信息

POST api/SleepSum/GeUserDyns

获取用户动态

POST api/SleepSum/GeUserDynsForLocation

获取用户动态(存放在本地)

POST api/SleepSum/GetPushMsgs

获取推送消息

POST api/SleepSum/SumInfo

获取用户累计的信息

POST api/SleepSum/DayInfo

获取用户某天的数据

POST api/SleepSum/GetSleepMusics

获取睡眠音乐

POST api/SleepSum/GetSleepMusicsV2

获取睡眠音乐(分类)

POST api/SleepSum/GetSleepMusicsV3

获取睡眠音乐(vip)

POST api/SleepSum/DoLike

点赞接口(返回值Status为1表示成功,为2表示已经赞过,为0表示服务端异常)

POST api/SleepSum/EncrypDoLike

加密点赞接口(返回值Status为1表示成功,为2表示已经赞过,为0表示服务端异常)

POST api/SleepSum/InviteByUserCode

邀请码邀请接口

POST api/SleepSum/IsNewMsgs

判断当前是否有新消息(返回值的Status为1时表示有新消息,0表示没有新消息,返回值的Message表示未读消息类型)

POST api/SleepSum/ReadMsgs

修改消息状态为已读

POST api/SleepSum/EncryReadMsgs

修改消息状态为已读

POST api/SleepSum/WeekSum

No documentation available.

POST api/SleepSum/MonthSum

No documentation available.

AppTool

APIDescription
POST api/AppTool/GetselfstartingData

No documentation available.

POST api/AppTool/GetselfstartingData2

No documentation available.

POST api/AppTool/GetselfstartingData3

No documentation available.

POST api/AppTool/GetselfstartingData4

No documentation available.

POST api/AppTool/GetselfstartingData5

No documentation available.

POST api/AppTool/IsoneFree2

No documentation available.

POST api/AppTool/SaveApptoolUserLog

No documentation available.

POST api/AppTool/SavepayApptoolUserLog

No documentation available.

POST api/AppTool/UserFode

No documentation available.

POST api/AppTool/UserFodeV2

No documentation available.

POST api/AppTool/DownloadApptoolData

No documentation available.

POST api/AppTool/CFtoolUpgrade

No documentation available.

POST api/AppTool/SaveButtonLog

No documentation available.

POST api/AppTool/wxlogins

No documentation available.

POST api/AppTool/LoginsByJyds

No documentation available.

POST api/AppTool/SetShareCode

No documentation available.

POST api/AppTool/SaveApptoolMass

No documentation available.

POST api/AppTool/RegisterForWxbk

No documentation available.

POST api/AppTool/LoginsForWxbk

No documentation available.

POST api/AppTool/IsVipdataByMulitOpenTool

No documentation available.

POST api/AppTool/GetselfstartingDataByOnekey

No documentation available.

POST api/AppTool/IsoneFreeOnekey

No documentation available.

POST api/AppTool/IsFunctionUserApptool

No documentation available.

POST api/AppTool/SaveRRJFlogbyQZ

No documentation available.

POST api/AppTool/SaveUsedFunctionCount

No documentation available.

POST api/Fans/IsFunctionCanUse

No documentation available.

POST api/AttractFansV2/PostDataLogV2

No documentation available.

POST api/AttractFansV2/PostDataLogByJydsV2

No documentation available.

POST api/AttractFansV2/PostDataLogByQFQV2

No documentation available.

POST api/AttractFansV2/QueryRecoveryOrder

No documentation available.

POST api/AppTool/StartInfoForFriendSync

No documentation available.

POST api/AppTool/StartInfoForFriendSyncV2

No documentation available.

POST api/AppTool/FetchUserShareCount

No documentation available.

POST api/AppTool/CommonStartInfo

No documentation available.

SleepUser

APIDescription
POST api/SleepUser/GetFollowUsers

获取用户关注列表或者粉丝列表

POST api/SleepUser/GetUserMedals

获取用户勋章接口

POST api/SleepUser/SearchFollowUsers

搜索用户关注或者粉丝

POST api/SleepUser/FollowUser

关注用户

POST api/SleepUser/CancelFollowUser

取消关注

POST api/SleepUser/ChooseMedal

用户选择勋章

POST api/SleepUser/SearchUserInAll

从所用用户中搜索

POST api/SleepUser/CollectMusics

获取用户收藏列表

POST api/SleepUser/musicToAlbumModel

No documentation available.

Orders

APIDescription
POST api/Orders/GetMessageInfo2?type={type}&appver={appver}&chanleid={chanleid}&packagename={packagename}

提示用户信息,包括升级、推广等信息,增加渠道号

Relax

APIDescription
POST api/Relax/AllMusics

请求所有音乐的接口

POST api/Relax/CollectMusic

收藏音乐接口

POST api/Relax/LearnCount

上报本次学习信息,返回值为用户总的统计信息

POST api/Relax/UserSumInfo

请求用户统计信息

POST api/Relax/isVip

判断用户是否是vip

POST api/Relax/AddUserHistory

上报用户历史记录

POST api/Relax/StartData

启动数据

POST api/Relax/ShareReward

获取分享奖励数据

POST api/Relax/UseFcode

使用兑换码接口

CommonPay

APIDescription
POST api/CommonPay/CreateOrder?pid={pid}&uid={uid}&viptype={viptype}&channelid={channelid}&ver={ver}

No documentation available.

POST api/CommonPay/MobileCreateOrder?pid={pid}&uid={uid}&viptype={viptype}&channelid={channelid}&ver={ver}

No documentation available.

POST api/CommonPay/CreateGoodOrder?pid={pid}&uid={uid}&orderId={orderId}&channelid={channelid}&ver={ver}

No documentation available.

POST api/CommonPay/Notify

No documentation available.

POST api/CommonPay/MobileNotify

No documentation available.

POST api/CommonPay/GoodNotify

No documentation available.

ApplePay

苹果支付相关

APIDescription
POST api/ApplePay/QueryOrder

app上报订单

POST api/ApplePay/QueryOrderForUUid

No documentation available.

POST api/ApplePay/QueryOrderWsmt

app上报订单

POST api/ApplePay/QueryOrderWsmtV2

app上报订单

POST api/ApplePay/QueryValidateRealNameOrder

app上报订单

POST api/ApplePay/QueryProxyOrder

app上报订单

POST api/ApplePay/NotifyOrder

接收苹果通知

POST api/ApplePay/NotifyOrder2

接收苹果通知(睡眠精灵)

CommonAccount

用户账号服务

APIDescription
POST api/CommonAccount/CommonWxLogin

通用微信登录接口

POST api/CommonAccount/CommonWxOAuth

No documentation available.

POST api/CommonAccount/CommonQQLogin

通用QQ登录接口

POST api/CommonAccount/CommonFbLogin

通用facebook登录接口

POST api/CommonAccount/VerificationCode

发送验证码

POST api/CommonAccount/Register

手机号码注册

POST api/CommonAccount/MobileLogin

手机号码登录

POST api/CommonAccount/MobileLoginV2

No documentation available.

POST api/CommonAccount/MobileLoginV3

No documentation available.

POST api/CommonAccount/WxBindMobile

通用手机绑定微信号码

POST api/CommonAccount/MobileBindWx

No documentation available.

POST api/CommonAccount/WxChangeBindMobile

改绑手机号

POST api/CommonAccount/ShareMobileRegisterBind?sharecode={sharecode}&uid={uid}&pid={pid}

No documentation available.

POST api/CommonAccount/ApptoolShareVip?ptype={ptype}&uid={uid}

No documentation available.

POST api/CommonAccount/AttractfansCodeVipShareVip?ptype={ptype}&uid={uid}&packagename={packagename}&sharecode={sharecode}

No documentation available.

POST api/CommonAccount/UpdateUserNickname

更新用户昵称

POST api/CommonAccount/UpdateUserInfoData

No documentation available.

POST api/CommonAccount/UpdateUserPassword

No documentation available.

POST api/CommonAccount/UpdateUserPasswordV2

No documentation available.

POST api/CommonAccount/DisableAccount

No documentation available.

POST api/CommonAccount/MinProLogin

No documentation available.

POST api/CommonAccount/MinProLoginV2

No documentation available.

POST api/CommonAccount/testWxQrcode

No documentation available.

IosData

APIDescription
POST api/IosData/getMaterialinfo

No documentation available.

POST api/IosData/getMaterialinfoByPage

No documentation available.

POST api/IosData/ListTemplateItem

No documentation available.

POST api/IosData/ListFileContent

No documentation available.

POST api/IosData/JS_ListTemplateItem

No documentation available.

POST api/IosData/AddIdfa

No documentation available.

UserProfile

APIDescription
POST api/UserProfile/BasicUserInfo

获取用户基本信息

POST api/UserProfile/BasicUserInfo2

No documentation available.

POST api/UserProfile/BuyItems

列出可买类型

GetFileUrls

APIDescription
POST api/GetFileUrls/ListDownMedia

No documentation available.

Sleep

APIDescription
POST api/Sleep/EncrypPostSleepInfo

(加密)上传睡眠信息

POST api/Sleep/PostUserPic

用户上传背景图接口

POST api/Sleep/ListAllSleepInfos

睡眠排名信息

POST api/Sleep/ListSelfSleepInfos

个人睡眠信息

POST api/Sleep/GetUserImg

获取用户的图片

GET api/Sleep/GetTip

获取随机的tips

POST api/Sleep/StartData

获取启动数据

POST api/Sleep/DoWhenShare

当分享时调用该接口

POST api/Sleep/AllMusics

获取音乐数据

POST api/Sleep/UserSumInfo

获取用户历史记录(睡眠精灵)

POST api/Sleep/GooglePayInfo

google付费信息

POST api/Sleep/PlayMusic

No documentation available.

POST api/Sleep/StartSleep

No documentation available.

POST api/Sleep/CaculaterSleepStates?startTime={startTime}

计算睡眠状态

POST api/Sleep/CaculaterScore

No documentation available.

GET api/Sleep/GetSleepSuggestion?language={language}

随机生成睡眠建议

POST api/Sleep/ChangeState

No documentation available.

POST api/Sleep/RemoveDup

1.突出其中的未睡部分2.将相邻的state重复睡眠状态合并

POST api/Sleep/EndAndReturn?state={state}&message={message}&uniqueId={uniqueId}&req={req}&sleepid={sleepid}

No documentation available.

HeaderBanner

APIDescription
POST api/HeaderBanner/ListHeaderBanner

列出banner广告

POST api/HeaderBanner/ListHeaderBannerV2

列出banner广告第二版,分组

POST api/HeaderBanner/ListHeaderBannerV3

列出banner广告第三版,在第二版上增加点击后行为类型,1为外部网页,2为内部功能点,3为代理广告页。

SonFunc

APIDescription
POST api/SonFunc/ListHideFunc

根据产品渠道版本获取隐藏的功能子模块

Price

APIDescription
POST api/Price/Ajj

No documentation available.

Values

APIDescription
GET api/Values/Get

No documentation available.

GET api/Values/Get/{id}

No documentation available.

POST api/Values/Post

No documentation available.

PUT api/Values/Put/{id}

No documentation available.

DELETE api/Values/Delete/{id}

No documentation available.

BusinessRealName

APIDescription
POST api/BusinessRealName/Post

No documentation available.

POST api/BusinessRealName/UploadImg

No documentation available.

Upgrade

升级类接口

APIDescription
POST api/Upgrade/StartMessage

启动时消息

POST api/Upgrade/CommonUpgrade

升级检查

Ajj

APIDescription
POST api/Ajj/GetInviteReward

No documentation available.

POST api/Ajj/InviteHistory

邀请记录

RelaxAccount

APIDescription
POST api/RelaxAccount/EmailRegist

邮箱注册接口

POST api/RelaxAccount/EmailLogin

邮箱登录接口

POST api/RelaxAccount/EmailCode

请求邮箱验证码

POST api/RelaxAccount/EmailUserChangePsw

邮箱用户修改密码