Kaynağa Gözat

update:Air8000/demo/tf_card demo:修复“一处注释被误开启”的问题

zhutianhua 4 ay önce
ebeveyn
işleme
88978af987

+ 2 - 2
module/Air8000/demo/tf_card/http_download_file.lua

@@ -47,8 +47,8 @@ local function http_download_file_task()
     log.info("HTTP下载", "开始下载任务")
 
     -- 核心下载操作开始 (支持http和https)
-    local code, headers, body = http.request("GET", "...", nil, nil, {dst = "/sd/1.mp3"}).wait()
-    其中 "..."为url地址, 支持 http和https, 支持域名, 支持自定义端口。
+    -- local code, headers, body = http.request("GET", "...", nil, nil, {dst = "/sd/1.mp3"}).wait()
+    -- 其中 "..."为url地址, 支持 http和https, 支持域名, 支持自定义端口。
     local code, headers, body_size = http.request("GET",
                                     "https://cdn.openluat-erp.openluat.com/erp_site_file/product_file/AirM2M_780EHT_V2017_LTE_AT.dfota.bin",
                                     nil, nil, {dst = "/sd/3_23MB.bin"}).wait()