fix: 修改接口

This commit is contained in:
chenglong 2025-04-14 18:32:26 +08:00
parent 3ecc4c7120
commit 7dd983eaa4
5 changed files with 6 additions and 5 deletions

View File

@ -33,5 +33,5 @@ VITE_APP_DOMAIN_ADDRESS = 'https://h5.mall4j.com/cloud'
# 腾讯地图key (WebServiceAPI) 用于IP定位 & 地址位置解析
# 同时需要配置到 manifest配置文件 h5 -> sdkConfigs -> maps -> qqmap -> key
VITE_APP_MAP_KEY = ''
VITE_APP_MAP_KEY = 'KHMBZ-NGH6T-IOPXR-L3HD4-4YUNZ-6BFPJ'

View File

@ -28,4 +28,4 @@ VITE_APP_DOMAIN_ADDRESS = 'https://h5.mall4j.com/cloud'
# 腾讯地图key (WebServiceAPI) 用于IP定位 & 地址位置解析
# 同时需要配置到 manifest配置文件 h5 -> sdkConfigs -> maps -> qqmap -> key
VITE_APP_MAP_KEY = ''
VITE_APP_MAP_KEY = 'KHMBZ-NGH6T-IOPXR-L3HD4-4YUNZ-6BFPJ'

View File

@ -125,7 +125,7 @@
"maps" : {
"qqmap" : {
// h5ip
"key" : ""
"key" : "KHMBZ-NGH6T-IOPXR-L3HD4-4YUNZ-6BFPJ"
}
}
}

View File

@ -506,7 +506,7 @@ const isBgImg = ref(false)
*/
const onGetFeatureIndex = () => {
http.request({
url: '/tmerclub_admin/mua/app/shopRenovation/get_home',
url: '/tmerclub_admin/ua/shop_renovation/get_home',
data: {
renovationType: 2, // 1.pc 2.
shopId: 0
@ -574,7 +574,7 @@ const indexImgs = ref([]) // 轮播图
*/
const onGetIndexImgs = () => {
const params = {
url: '/tmerclub_admin/mua/app/indexPic/list',
url: '/tmerclub_admin/ua/index_img/list',
method: 'GET',
data: {
shopId: pageQuery.shopId,

View File

@ -41,6 +41,7 @@ const http = {
Authorization: uni.getStorageSync('cloudToken'),
locale: uni.getStorageSync('cloudLang') || 'zh_CN'
}
console.log(head, 'head', params)
if (params.header) {
head['Content-Type'] = params.header.ContentType
}