计算购物车钱之前

This commit is contained in:
wwz
2025-02-26 17:39:46 +08:00
parent f2513ef13a
commit 0ab9235f6c
33 changed files with 4225 additions and 903 deletions

View File

@@ -1,44 +1,28 @@
// 引入 request 文件
const url = '/account'
import request from '@/common/api/request.js'
//首页上半部分
export const APIhomehomePageUp = (data) => {
return request({
url: '/home/homePageUp',
method: 'post',
url: url + '/user/home/homePageUp',
method: 'GET',
data: data
})
}
//首页半部分
//首页xia半部分
export const APIhome = (data) => {
return request({
url: '/home',
method: 'post',
data: data,
toast: false
})
}
//首页上半部分
export const APIshopUserInfo = (data) => {
return request({
url: '/user/shopUserInfo',
method: 'get',
data: data,
toast: false
})
}
//首页上半部分
export const APIgeocodelocation = (data) => {
return request({
url: '/location/geocode',
method: 'get',
url: url + '/user/home/home',
method: 'GET',
data: data,
toast: false
})
}
///商户登录后 shopId和autokey
export const APIshopExtend = (data) => {
return request({
url: '/common/shopExtend',
url: url + '/common/shopExtend',
method: 'post',
data: data,
toast: false