123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- import request from '@/utils/request'
- // 挂出列表
- export function getsell(data) {
- return request({
- url: `/api/sell`,
- method: 'get',
- data
- });
- }
- // 挂出
- export function sellPush(data) {
- return request({
- url: `/api/sell`,
- method: 'post',
- data
- });
- }
- // 单个挂出详情
- export function getSell(data) {
- return request({
- url: `/api/sell/${data.id}`,
- method: 'get',
- data
- });
- }
- // 提交凭证
- export function setSellVoucher(data) {
- return request({
- url: `/api/sell/voucher/${data.id}`,
- method: 'post',
- data
- });
- }
- // 买入订单
- export function sellBuy(data) {
- return request({
- url: `/api/sell/buy/${data.id}`,
- method: 'post',
- data
- });
- }
- // 我的买入列表
- export function sellBuyMy(data) {
- return request({
- url: `/api/sell/buy/my`,
- method: 'get',
- data
- });
- }
- // 我的挂出列表
- export function sellMy(data) {
- return request({
- url: `/api/sell/my`,
- method: 'get',
- data
- });
- }
- // 实名认证
- export function real_check(data) {
- return request({
- url: `/api/user/real_check`,
- method: 'post',
- data
- });
- }
- // 余额列表
- export function balanceList(data) {
- return request({
- url: `/api/balance/list/USDT`,
- method: 'get',
- data
- });
- }
- // 转账
- export function trade(data) {
- return request({
- url: `/api/trade`,
- method: 'post',
- data
- });
- }
- // 提币
- export function cash(data) {
- return request({
- url: `/api/extract/cash`,
- method: 'post',
- data
- });
- }
- // 提币计算
- export function calculator(data) {
- return request({
- url: `/api/extract/calculator`,
- method: 'post',
- data
- });
- }
- // 代币使用记录
- export function moneyLog(data) {
- return request({
- url: `/api/money/log/${data.moneyType}`,
- method: 'get',
- data
- });
- }
- //取消挂出订单
- export function cancelLog(data) {
- return request({
- url: `/api/sell/${data.id}`,
- method: 'post',
- data
- });
- }
- //查看凭证确认订单
- export function comfirLog(data) {
- return request({
- url: `/api/sell/check/${data.id}`,
- method: 'post',
- data
- });
- }
- //充值接口
- export function rechargeUSDT(data) {
- return request({
- url: `/api/recharge`,
- method: 'post',
- data
- });
- }
|