123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- import request from '@/utils/request'
- // 获取用户消费记录
- export function spreadCommission(data,state) {
- return request({
- url: '/api/spread/commission/'+state,
- method: 'get',
- data
- });
- }
- //获取地址余额
- export function yue(data){
- return request({
- url:'/api/balance/LALA',
- method:'get',
- data
- })
- }
- // 获取汇总数据
- export function finance(data,state) {
- return request({
- url: '/api/finance',
- method: 'get',
- data
- });
- }
- // 获取账户余额
- export function userBalance(data) {
- return request({
- url: '/api/user/balance',
- method: 'get',
- data
- });
- }
- // 提现
- export function extractCash(data) {
- return request({
- url: '/api/extract/cash',
- method: 'post',
- data
- });
- }
- // 提现信息
- export function extractBank(data) {
- return request({
- url: '/api/extract/bank',
- method: 'get',
- data
- });
- }
- // #ifdef H5
- // 公众号充值
- export function rechargeWechat(data) {
- return request({
- url: '/api/recharge/wechat',
- method: 'post',
- data
- });
- }
- // #endif
- // #ifdef MP
- // 小程序充值
- export function rechargeRoutine(data) {
- return request({
- url: '/api/recharge/routine',
- method: 'post',
- data
- });
- }
- // #endif
- // #ifdef APP-PLUS
- // App微信充值
- export function rechargeApp(data) {
- return request({
- url: '/api/recharge/app',
- method: 'post',
- data
- });
- }
- // App支付宝充值
- export function rechargeAli(data) {
- return request({
- url: '/api/recharge/ali',
- method: 'post',
- data
- });
- }
- // #endif
- // 获取提现支付宝账号
- export function aliInfo(data) {
- return request({
- url: '/api/ali/info',
- method: 'get',
- data
- });
- }
- //获取默认银行卡账号
- export function bankInfo(data) {
- return request({
- url: '/api/bank/info',
- method: 'get',
- data
- });
- }
- // 保存提现支付宝账号
- export function setAliInfo(data) {
- return request({
- url: '/api/ali/edit',
- method: 'post',
- data
- });
- }
- //保存默认银行卡账号
- export function setBankInfo(data) {
- return request({
- url: '/api/bank/edit',
- method: 'post',
- data
- });
- }
- // 账户余额
- export function balance(data) {
- return request({
- url: '/api/user/balance',
- method: 'get',
- data
- });
- }
- // 账户余额
- export function lalaprice(data) {
- return request({
- url: '/api/lala_price',
- method: 'get',
- data
- });
- }
- //充值金额
- export function moneyChong(data){
- return request({
- url:'/api/recharge/index',
- method:'get',
- data
- })
- }
- // 钱包流水
- export function USDT(data) {
- return request({
- url: '/api/money/log/USDT',
- method: 'get',
- data
- });
- }
- // 个人钱包
- export function getWallet(data) {
- return request({
- url: '/api/wallet',
- method: 'get',
- data
- });
- }
- //充值话费接口
- export function getPhone(data) {
- return request({
- url:'/api/mobile_recharge/index',
- method:'get',
- data
- })
- }
- // #ifdef H5
- // 公众号话费充值
- export function rechargePhoneWechat(data) {
- return request({
- url: '/api/mobile_recharge/wechat',
- method: 'post',
- data
- });
- }
- // #endif
- // #ifdef APP-PLUS
- // App微信话费充值
- export function rechargePhontApp(data) {
- return request({
- url: '/api/mobile_recharge/app',
- method: 'post',
- data
- });
- }
- // App支付宝话费充值
- export function rechargePhoneAli(data) {
- return request({
- url: '/api/mobile_recharge/ali',
- method: 'post',
- data
- });
- }
|