| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 | 
							- import request from '@/sheep/request';
 
- export default {
 
- 	// 预支付
 
- 	prepay: (data) =>
 
- 		request({
 
- 			url: 'pay/prepay',
 
- 			method: 'POST',
 
- 			data,
 
- 			custom: {
 
- 				loadingMsg: '支付中',
 
- 			},
 
- 		}),
 
- 	// 发起提现
 
- 	withdraw: {
 
- 		list: (params) =>
 
- 			request({
 
- 				url: 'withdraw',
 
- 				method: 'GET',
 
- 				params,
 
- 				custom: {
 
- 					auth: true,
 
- 				},
 
- 			}),
 
- 		rules: () =>
 
- 			request({
 
- 				url: 'withdraw/rules',
 
- 				method: 'GET',
 
- 				custom: {
 
- 					auth: true,
 
- 				},
 
- 			}),
 
- 		apply: (data) =>
 
- 			request({
 
- 				url: '/app-api/trade/brokerage-withdraw/create',
 
- 				method: 'POST',
 
- 				data,
 
- 				custom: {
 
- 					loadingMsg: '申请中',
 
- 					// auth: true,
 
- 				},
 
- 			}),
 
- 		userGet: (params) =>
 
- 			request({
 
- 				url: '/app-api/trade/brokerage-user/get',
 
- 				method: 'GET',
 
- 				params,
 
- 				// custom: {
 
- 				//   loadingMsg: '申请中',
 
- 				//   auth: true,
 
- 				// },
 
- 			}),
 
- 	},
 
- };
 
 
  |