| 1234567891011121314151617181920212223 |
- 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
- }
|