const { api } = require("./apiConfig") function getApi(url, data) { return api(url, { ...data, loginAccountId: wx.getStorageSync('loginAccountId') }, "get") } function postApi(url, data) { return api(url, { ...data, loginAccountId: wx.getStorageSync('loginAccountId') }, "post") } module.exports = { getApi, postApi }