Commit f7c7865b authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 变更交易规则中获取商城列表的接口

parent 71df50a9
......@@ -78,7 +78,6 @@ const SelectProcesss = (props: ISchemaFieldComponentProps) => {
}
const renderProcessType = (v: any) => {
console.log(v)
return <Tag color={ProcessTagColor[v.processType - 1]}>
{v["processTypeName"]}
</Tag>
......
import { GlobalConfig } from '@/global/config';
import { postManageWebShopWebAll } from '@/services/ManageV2Api';
import { postManageWebShopWebAllShop } from '@/services/ManageV2Api';
export function isString(str: any):str is string {
return typeof str === 'string'
......@@ -42,8 +42,8 @@ interface getShopListsParmasProps {
* @param params 接口参数
*/
export const fectchShopListsSource = async (params?: getShopListsParmasProps) => {
if (postManageWebShopWebAll) {
const { data } = await postManageWebShopWebAll({ ...params, siteId: GlobalConfig.global.siteInfo.id }, { ctlType: 'none' })
if (postManageWebShopWebAllShop) {
const { data } = await postManageWebShopWebAllShop({ ...params, siteId: GlobalConfig.global.siteInfo.id }, { ctlType: 'none' })
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