410 lines
8.5 KiB
JavaScript
Raw Permalink Normal View History

2025-04-19 15:38:48 +08:00
import jyRequest from "./index";
const serviceUrl = "https://nfta.ikiry.com";
export function _zhujiLogin(data){
return jyRequest.post({
url:'/api/user/login',//登录
data
})
}
export function _register(data){
return jyRequest.post({
url:'/api/user/register',//注册
data
})
}
export function _transfer(data){
return jyRequest.post({
url:'/api/user/resetwallet',//转移升级
data
})
}
export function _userInfos(){
return jyRequest.post({
url:'/api/user/index',//用户信息
})
}
export function _viplist(data){
return jyRequest.post({
url:'/api/user/getviplist',//获取vip列表
data
})
}
export function _childrenlist(data){
return jyRequest.post({
url:'/api/user/getchildrenlist',//推荐列表
data
})
}
export function _walletinfo(data){
return jyRequest.post({
url:'/api/user/getwalletinfo',//支付密码
data
})
}
export function _bindpid(data){
return jyRequest.post({
url:'/api/user/bindpid',//绑定邀请人
data
})
}
export function _myparent(data){
return jyRequest.post({
url:'api/user/getmyparent',//绑定信息查询
data
})
}
export function _levelupinfo(data){
return jyRequest.post({
url:'/api/user/getlevelupinfo',//获取升级vip信息
data
})
}
export function _sendcoin(data){
return jyRequest.post({
url:'/api/user/sendcoin',//打款记录
data
})
}
export function _staticinfo(data){
return jyRequest.post({
url:'/api/user/getstaticinfo',//我的统计信息
data
})
}
export function _zhuji(data){
return jyRequest.post({
url:'/api/user/zhujilogin',//我的统计信息
data
})
}
export function _coinlist(data){
return jyRequest.post({
url:'/api/user/getcoinlist',//钱包详细
data
})
}
export function _miners(data){
return jyRequest.post({
url:'/api/user/getminers',//获取算力信息
data
})
}
export function _pullreward(data){
return jyRequest.post({
url:'/api/user/pullreward',//领取积分收益
data
})
}
export function _minerlist(data){
return jyRequest.post({
url:'/api/user/getminerlist',//算力明细
data
})
}
export function _rewardlist(data){
return jyRequest.post({
url:'/api/user/getrewardlist',//直推收益
data
})
}
export function _minerrewardlist(data){
return jyRequest.post({
url:'/api/user/getminerrewardlist',//挖矿收益
data
})
}
export function _generateWords(data){
return jyRequest.post({
url: `${serviceUrl}/generateWords`,//创建钱包
data
})
}
export function getvision(data){
return jyRequest.post({
url: `/api/index/getvision`,//获取当前版本
data
})
}
export function _createorder(data){
return jyRequest.post({
url: `/api/miner/createorder`,//算力订单
data
})
}
export function _paysord(data){
return jyRequest.post({
url: `/api/miner/paysord`,//算力订单支付成功调用
data
})
}
export function _childrens(data){
return jyRequest.post({
url: `/api/user/getchildrens`,//获取推荐客户
data
})
}
export function _minerscorelist(data){
return jyRequest.post({
url: `/api/user/getminerscorelist`,//获取资产收益列表
data
})
}
export function _profile(data){
return jyRequest.post({
url: `/api/user/profile`,//修改信息
data
})
}
export function _taxinfo(data){
return jyRequest.post({
url: `/api/user/taxinfo`,//提取收益费率
data
})
}
export function _cashoutscore(data){
return jyRequest.post({
url: `/api/user/cashoutscore`,//收益领取
data
})
}
export function _minerordlist(data){
return jyRequest.post({
url: `/api/user/getminerordlist`,//算力订单
data
})
}
export function _rewardstatic(data){
return jyRequest.post({
url: `/api/user/getrewardstatic`,//获取资产收益、市场佣金
data
})
}
export function _payXieyi(data){
return jyRequest.post({
url: `/api/`,//算力协议
data
})
}
export function _submitdata(data){
return jyRequest.post({
url: `/api/user/submitdata`,//提交代理资料
data
})
}
export function _chksubdata(data){
return jyRequest.post({
url: `/api/user/chksubdata`,//判断是否提交过资料
data
})
}
export function _chkarea(data){
return jyRequest.post({
url: `/api/user/chkarea`,//判断是否提交过资料
data
})
}
export function _addresslogin(data){
return jyRequest.post({
url: `/api/user/addresslogin`,//助记词查询是否已注册
data
})
}
export function _getareas(data){
return jyRequest.post({
url: `/api/user/getareas`,//已被代理的省和区
data
})
}
export function _refwallet(data){
return jyRequest.post({
url: `/api/user/refwallet`,//关联钱包
data
})
}
export function _emailSend(data){
return jyRequest.post({
url: `/api/ems/send`,//获取邮箱验证码
data
})
}
export function _getgoogleauthurl(data){
return jyRequest.post({
url: `/api/user/getgoogleauthurl`,//获取谷歌验证码
data
})
}
export function _getwithdrawlogs(data){
return jyRequest.post({
url: `/api/user/withdrawlogs`,//获取领取收益记录
data
})
}
export function _pubgame(data){
return jyRequest.post({
url: `/api/pub/getpubgame`,//游戏推广列表
data
})
}
export function _getpubtype(data){
return jyRequest.post({
url: `/api/pub/getpubtype`,//攻略类型
data
})
}
export function _getaccounttype(data){
return jyRequest.post({
url: `/api/pub/getaccounttype`,//账号类型
data
})
}
export function _getpubguide(data){
return jyRequest.post({
url: `/api/pub/getpubguide`,//攻略列表
data
})
}
export function _getpubaccount(data){
return jyRequest.post({
url: `/api/pub/getpubaccount`,//账号列表
data
})
}
export function _guidedetail(data){
return jyRequest.post({
url: `/api/pub/guidedetail`,//攻略详情
data
})
}
export function _accountdetail(data){
return jyRequest.post({
url: `/api/pub/accountdetail`,//账号详情
data
})
}
export function _balances(data){
return jyRequest.get({
url:`${serviceUrl}/getUserBalances?address=${data}` //获取余额
})
}
export function _getaccounttag(data){
return jyRequest.get({
url:`/api/pub/getaccounttag` //获取游戏类型
})
}
export function _getaccountorder(data){
return jyRequest.get({
url:`/api/pub/getaccountorder?page=${data.page}&listrow=${data.listrow}`, //账号交易记录
})
}
export function _myIncome(data){
return jyRequest.get({
2025-04-30 10:20:09 +08:00
url:`/api/quantify/getlist?${data}` // 获取收益列表
2025-04-19 15:38:48 +08:00
})
}
export function _pushBuyInfo(data){
return jyRequest.post({
url:`/api/quantify/pushdata`, // 保存购买信息
data
})
}
export function _getstatics(data){
return jyRequest.get({
url:`/api/quantify/getstatics`, // 获取总收益
params: data
})
}
export function _pushorder(data){
return jyRequest.post({
url:`/api/quantify/pushorder`, // 推送订单消息
data
})
}
export function _getcharge(data){
return jyRequest.get({
url:`/api/quantify/getcharge`, // 获取充值余额
data
})
}
export function _getrechargelogs(data){
return jyRequest.get({
url:`/api/quantify/getrechargelogs`, // 获取充值记录
params:data
})
}
export function _getinvestlogs(data){
return jyRequest.get({
url:`/api/quantify/getinvestlogs`, // 获取投资记录
params:data
})
}
export function _getexerciselogs(data){
return jyRequest.get({
url:`/api/quantify/getexerciselogs`, // 获取收益记录
params:data
})
}
export function _moneyRedeem(data){
return jyRequest.post({
url:`/api/quantify/redeem`, // 量化提现
data
})
}
export function _quantifyrewardlogs(data){
return jyRequest.get({
url:`/api/quantify/quantifyrewardlogs`, // 获取推荐收益记录
params: data
})
}