Explorar o código

接口增加参数 mac

guozhaoshun %!s(int64=5) %!d(string=hai) anos
pai
achega
88267a4948
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;
     }
 }