1234567891011121314 |
- const { http } = require('../utils/util')
- const API = {
- getCategoryURL: '/category',
- }
- function getCategoryAPI(data) {
- // return http( API.getCategoryURL, {data: data})
- return http({url: API.getCategoryURL, data: data})
- }
- module.exports = {
- getCategoryAPI
- }
|