Files
sweekar-app/pages/index/api.js
T
2026-01-04 17:53:40 +08:00

16 lines
303 B
JavaScript

import { get, post, put, dele } from '@/utils/request';
/**
* @desc 全局参数
*/
export const getConfig = (params) => {
return get('/sale/tripcommon/index/config', params);
};
/**
* @desc 获取产品列表
*/
export const getProducts = (params) => {
return get('/api/products/', params)
}