fix: 修改接口
This commit is contained in:
parent
3ecc4c7120
commit
7dd983eaa4
@ -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'
|
||||
|
||||
|
@ -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'
|
||||
|
@ -125,7 +125,7 @@
|
||||
"maps" : {
|
||||
"qqmap" : {
|
||||
// 用于h5端ip定位
|
||||
"key" : ""
|
||||
"key" : "KHMBZ-NGH6T-IOPXR-L3HD4-4YUNZ-6BFPJ"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user