uos ql_fs ota_config = { : , : } OTA_FLAG_CONFIG = ql_fs.path_exists(OTA_FLAG_CONFIG): ql_fs.touch(OTA_FLAG_CONFIG, ota_config) : ota_config = ql_fs.read_json(OTA_FLAG_CONFIG) (+ota_config[], ,ota_config[]) ota_config[] = ota_config[] = ota_config[]+ql_fs.touch(OTA_FLAG_CONFIG, ota_config) ota_config = ql_fs.read_json(OTA_FLAG_CONFIG) (+ota_config[], ,ota_config[]) ota_config[] = ota_config[]+ql_fs.touch(OTA_FLAG_CONFIG, ota_config) ota_config = ql_fs.read_json(OTA_FLAG_CONFIG) (+ota_config[], ,ota_config[])
参考这个代码