Commit a4104788 authored by GuanHua's avatar GuanHua

fix: api接口undefined问题

parent 7e375f15
...@@ -42,6 +42,8 @@ interface getShopListsParmasProps { ...@@ -42,6 +42,8 @@ interface getShopListsParmasProps {
* @param params 接口参数 * @param params 接口参数
*/ */
export const fectchShopListsSource = async (params?: getShopListsParmasProps) => { export const fectchShopListsSource = async (params?: getShopListsParmasProps) => {
if (postManageWebShopWebAll) {
const { data } = await postManageWebShopWebAll({ ...params, siteId: GlobalConfig.global.siteInfo.id }, { ctlType: 'none' }) const { data } = await postManageWebShopWebAll({ ...params, siteId: GlobalConfig.global.siteInfo.id }, { ctlType: 'none' })
return data return data
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment