12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- import request from '@/sheep/request';
- export default {
- order: (id) =>
- request({
- url: 'trade/order/' + id,
- method: 'GET',
- custom: {
- showLoading: false,
- },
- }),
- orderLog: (params) =>
- request({
- url: 'trade/order',
- method: 'GET',
- params,
- custom: {
- showLoading: false,
- },
- }),
- rechargeRules: () =>
- request({
- url: 'trade/order/rechargeRules',
- method: 'GET',
- custom: {
- showError: false,
- showLoading: false,
- },
- }),
- rechargeRules2: () =>
- request({
- url: '/app-api/pay/wallet-recharge-package/list',
- method: 'GET',
- custom: {
- showError: false,
- showLoading: false,
- },
- }),
- recharge: (data) =>
- request({
- url: '/app-api/pay/wallet-recharge/create',
- method: 'POST',
- data,
- }),
- };
|