|
@@ -24,6 +24,7 @@ export async function importPaper({
|
|
objectiveShuffle = "",
|
|
objectiveShuffle = "",
|
|
optionShuffle = "",
|
|
optionShuffle = "",
|
|
audioPlayCount = "",
|
|
audioPlayCount = "",
|
|
|
|
+ mobilePhotoUpload = false,
|
|
fileName,
|
|
fileName,
|
|
file,
|
|
file,
|
|
}) {
|
|
}) {
|
|
@@ -35,6 +36,7 @@ export async function importPaper({
|
|
form.append("objectiveShuffle", objectiveShuffle);
|
|
form.append("objectiveShuffle", objectiveShuffle);
|
|
form.append("optionShuffle", optionShuffle);
|
|
form.append("optionShuffle", optionShuffle);
|
|
form.append("audioPlayCount", audioPlayCount);
|
|
form.append("audioPlayCount", audioPlayCount);
|
|
|
|
+ form.append("mobilePhotoUpload", mobilePhotoUpload);
|
|
form.append("fileName", fileName);
|
|
form.append("fileName", fileName);
|
|
form.append("file", file);
|
|
form.append("file", file);
|
|
return httpApp.post("/api/admin/exam/paper/import", form, {
|
|
return httpApp.post("/api/admin/exam/paper/import", form, {
|