@focus-teach/ui 1.1.7 → 1.1.9

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
@@ -1611,3 +1611,30 @@ export function getAnswerDetailByRpt(options) {
1611
1611
  );
1612
1612
  })
1613
1613
  }
1614
+ export function checkStudentImg(options, success, error) {
1615
+ return new Promise((resolve) => {
1616
+ axios.get("/scanner/task/check-student-img", { params:options}).then(res => {
1617
+ resolve([null, res])
1618
+ }).catch(err => {
1619
+ resolve([err, null])
1620
+ })
1621
+ });
1622
+ }
1623
+ export function excImg(options, success, error) {
1624
+ return new Promise((resolve) => {
1625
+ axios.get("/scanner/task/exc-img", { params:options}).then(res => {
1626
+ resolve([null, res])
1627
+ }).catch(err => {
1628
+ resolve([err, null])
1629
+ })
1630
+ });
1631
+ }
1632
+ export function getRecordId(params) {
1633
+ return new Promise(resolve=>{
1634
+ axios.get('/scanner/task/record/get', {params}).then(res=>{
1635
+ resolve([null,res])
1636
+ },err=>{
1637
+ resolve([err,null])
1638
+ })
1639
+ })
1640
+ }