我正在尝试使用curl请求登录我的自定义LoginView但是我收到以下错误:
<template name="model:group" var="group">
<listgroup label="@load(groupNameList)"
style="color: #666;" open="false"
onClick="@command('groupCloseAndOpen',listGroup = self)"
tooltiptext="@load(each)">
<listcell>
<label value="${group.deptId}" tooltiptext="${each.deptId}">
</label>
</listcell>
<listcell>
<label value="${group.deptName}"
tooltiptext="${each.deptName}">
</label>
</listcell>
<listcell>
<label value="${group.deptLoc}"
tooltiptext="${each.deptLoc}">
</label>
</listcell>
</listgroup>
</template>
<template name="model" var="folderInfoData">
<listitem>
<listcell if="${folderInfoDataStatus.index == 0}">
<label
value="@load(folderInfoData.id)"/>
</listcell>
<listcell>
<label
value="@load(folderInfoData.id)"/>
</listcell>
<listcell><label
value="@load(folderInfoData.name)" />
</listcell>
<listcell><label
value="@load(folderInfoData.sal)"
/>
</listcell>
</listitem>
</template>
</listbox>
但默认登录API(api-token-auth)工作正常。
LoginView:
{"detail":"Authentication credentials were not provided."}.