🎨 我的钱包接口变更

This commit is contained in:
ronger 2021-12-10 19:37:06 +08:00
parent bbd8516ac0
commit f70e7bf2d1

View File

@ -1,4 +1,4 @@
export const BANK_ACCOUNT_API_PATH = '/api/wallet' export const WALLET_API_PATH = '/api/wallet'
const getDefaultListData = () => { const getDefaultListData = () => {
return { return {
@ -43,7 +43,7 @@ export const actions = {
commit('updateDetailFetching', true) commit('updateDetailFetching', true)
console.log(params) console.log(params)
return this.$axios return this.$axios
.$get(`${BANK_ACCOUNT_API_PATH}/${params.idUser}`, { .$get(`${WALLET_API_PATH}/${params.idUser}`, {
params: { params: {
type: 3 type: 3
} }