2025-10-16

商城主页
商城分类
我的
商品详情40%
This commit is contained in:
2025-10-16 17:07:47 +08:00
parent ad2ce26c08
commit 28e36b5625
29 changed files with 1008 additions and 158 deletions

View File

@@ -2,8 +2,12 @@ import {
http
} from "../util/api";
const baseUrl = "http://192.168.0.26:3000"
export const mallAPI = {
getMallList: (params) => http.get('/mall', params)
getMallList: (params) => http.get(baseUrl + '/api/products', params),
getCategory: () => http.get(baseUrl + '/api/category'),
getMallDetail: (id) => http.get(baseUrl + '/products/' + id)
}
export default {

View File

@@ -2,7 +2,8 @@ import {
http
} from "../util/api"
const baseURL = "http://192.168.0.12:3005/chat"
// const baseURL = "http://192.168.0.12:3005/chat"
const baseURL = "http://192.168.0.15:3007"
// 项目相关API
export const messageAPI = {