Compare commits

...

1 Commits

Author SHA1 Message Date
xuxingjun
9a8ca16897 旺季专区更换接口 2024-12-04 17:10:21 +08:00
2 changed files with 11 additions and 2 deletions

View File

@@ -111,5 +111,13 @@ export function getServiceConfig(data) {
})
}
//登录用户2
export function getConfigByCode(data) {
return request({
url: getUrl('/app/getConfigByCode', 1),
method: 'post',
data
})
}

View File

@@ -13,7 +13,7 @@
<script>
import { Grid, GridItem } from 'vant'
import { getServiceConfig } from '@/api/ebiz/my/my'
import { getServiceConfig, getConfigByCode } from '@/api/ebiz/my/my'
export default {
name: 'Prefecture',
@@ -33,7 +33,8 @@ export default {
},
methods: {
async initMenuList(){
const res =await getServiceConfig({})
// const res =await getServiceConfig({})
const res =await getConfigByCode({operateType:"index_busy_config"})
if (res.sections) {
res.sections.forEach(e=>{
if(e.name.indexOf('旺季专区')!=-1){