商品详情
This commit is contained in:
14
src/api/goods/index.ts
Normal file
14
src/api/goods/index.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { get } from '@/utils';
|
||||
|
||||
enum URL {
|
||||
CategoryList = '/goods/category_list',
|
||||
GoodsList = '/goods/category_list',
|
||||
GoodsDetail = '/goods/info',
|
||||
Order = '/user/logout',
|
||||
}
|
||||
|
||||
export const getCategoryList = () => get({ url: URL.CategoryList });
|
||||
|
||||
export const getGoodsList = () => get({ url: URL.GoodsList });
|
||||
|
||||
export const getGoodsDetail = () => get({ url: URL.GoodsDetail });
|
Reference in New Issue
Block a user