Browse Source

fix:获得所有枚举方法的请求方式修改

temp
chenpingsen 4 months ago
parent
commit
6478070bd8
  1. 2
      hx-ai-intelligent/src/api/index.ts

2
hx-ai-intelligent/src/api/index.ts

@ -46,7 +46,7 @@ export const getAllEnum = async ({
api = `${BASE_URL}/operation/enum/getAllEnum`, api = `${BASE_URL}/operation/enum/getAllEnum`,
params = {}, params = {},
}: dictHttpConfig) => { }: dictHttpConfig) => {
const res = await http.get(api, params); const res = await http.post(api, params);
return Promise.resolve(res); return Promise.resolve(res);
}; };

Loading…
Cancel
Save