提交 b2657d45 authored 作者: 钟是志's avatar 钟是志

接口修改

上级 3f483efa
...@@ -346,13 +346,13 @@ export const getRequest = createServerRequest({ ...@@ -346,13 +346,13 @@ export const getRequest = createServerRequest({
prefix: queryApiActionPath(), prefix: queryApiActionPath(),
}); });
export const getUiaRequest = (data) => { export const getUiaRequest = (data) => { // 2.0的登录接口
return fetch(queryUiaApi() + '/oauth/token', { return fetch(queryUiaApi() + '/oauth/token', {
credentials: 'omit', credentials: 'omit',
mode: 'cors', mode: 'cors',
headers:{ headers:{
Accept: 'application/json', Accept: 'application/json',
'Content-Type': 'multipart/form-data', // 'Content-Type': 'multipart/form-data',
}, },
method: 'POST', method: 'POST',
body: objectToFormData(data), body: objectToFormData(data),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论