| 1234567891011121314151617181920 |
- import { get, post } from './http';
- const apis = {
- PRE_ONE_KEY: '/api/substituteOrder/preOneKeySubmit',
- };
- export const preOneKeySubmit = async () => {
- const res = await post(apis.PRE_ONE_KEY);
- return res;
- };
- export const info = async (type: string, loading = false) => {
- const res = await get('/api/wallet/getByType', { type }, { loading });
- return res.data;
- };
- export default {
- preOneKeySubmit,
- info,
- };
|