Sfoglia il codice sorgente

接口增加参数 mac

guozhaoshun 5 anni fa
parent
commit
88267a4948
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      helper/LjApiHelper.js

+ 2 - 2
helper/LjApiHelper.js

@@ -51,7 +51,7 @@ class LjApiHelper
      */
     static getApiForDelDownload(lessonId,data)
     {
-        return "http://tt-web.api.ai160.com/callback/download/delete?lessonId=" + lessonId+"&data="+data;
+        return "http://tt-web.api.ai160.com/callback/download/delete?lessonId=" + lessonId+"&mac="+macAddressStr+"&data="+data;
     }
 
     /**
@@ -61,7 +61,7 @@ class LjApiHelper
      */
     static getApiForUpdateResSize(lessonId)
     {
-        return "http://tt-web.api.ai160.com/callback/download/update/resource/size?lessonId=" + lessonId;
+        return "http://tt-web.api.ai160.com/callback/download/update/resource/size?lessonId=" + lessonId+"&mac="+macAddressStr;
     }
 }