updated
This commit is contained in:
parent
79453457d1
commit
d9491d654b
1 changed files with 1 additions and 10 deletions
|
|
@ -92,16 +92,7 @@ export const useLinkageStore = defineStore("linkageData", () => {
|
||||||
await fetch(`${apiURL.value}/smart-card/read/`, {
|
await fetch(`${apiURL.value}/smart-card/read/`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
fields: [
|
fields: ["personalID", "engName", "expireDate"],
|
||||||
"personalID",
|
|
||||||
"thaiName",
|
|
||||||
"engName",
|
|
||||||
"dateOfBirth",
|
|
||||||
"addressOnCard",
|
|
||||||
"faceImage",
|
|
||||||
"issueDate",
|
|
||||||
"expireDate",
|
|
||||||
],
|
|
||||||
}),
|
}),
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue