@focus-teach/ui 1.0.36 → 1.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api/index.js CHANGED
@@ -773,4 +773,17 @@ export function getExamListAsync(options, success, error) {
773
773
  error && error(res);
774
774
  }
775
775
  );
776
+ }
777
+ //答题是否下载过
778
+ export function getAnswerDownload(options, success, error) {
779
+ return new Promise((resolve) => {
780
+ axios.get("/ybk/exam-card/edit.json", { params: options }).then(
781
+ (res) => {
782
+ resolve([null, res])
783
+ },
784
+ (err) => {
785
+ resolve([err, null])
786
+ }
787
+ );
788
+ })
776
789
  }