@@ -163,6 +163,12 @@ local function checkHotspotShow(data)
163163 commonParam = Native :commonParam ()
164164 }
165165
166+ local videoInfo = Native :getVideoInfo ()
167+
168+ if videoInfo [" extendDict" ] ~= nil then
169+ paramData [" videoInfo" ] = videoInfo [" extendDict" ]
170+ end
171+
166172 local paramDataString = Native :tableToJson (paramData )
167173 -- local OS_HTTP_POST_CHECK_HOTSPOT = OS_HTTP_HOST .. "/api/notice"
168174
@@ -365,6 +371,13 @@ local function getTaglist()
365371 title = Native :getVideoTitle (),
366372 commonParam = Native :commonParam ()
367373 }
374+
375+ local videoInfo = Native :getVideoInfo ()
376+
377+ if videoInfo [" extendDict" ] ~= nil then
378+ paramData [" videoInfo" ] = videoInfo [" extendDict" ]
379+ end
380+
368381 local paramDataString = Native :tableToJson (paramData )
369382 -- print("[LuaView] "..paramDataString)
370383 -- print("[LuaView] "..Native:aesEncrypt(paramDataString, OS_HTTP_PUBLIC_KEY, OS_HTTP_PUBLIC_KEY))
@@ -429,8 +442,15 @@ local function getSimulationTag()
429442 videoId = Native :nativeVideoID (),
430443 commonParam = Native :commonParam ()
431444 }
432- local extendJson = Native :getConfigExtendJSONString ()
433- local extendTable = toTable (extendJson )
445+
446+ local extendTable = nil
447+
448+ local videoInfo = Native :getVideoInfo ()
449+
450+ if videoInfo [" extendDict" ] ~= nil then
451+ paramData [" videoInfo" ] = videoInfo [" extendDict" ]
452+ extendTable = videoInfo [" extendDict" ]
453+ end
434454
435455 if extendTable [" creativeName" ] ~= nil then
436456 paramData [" creativeName" ] = extendTable [" creativeName" ]
@@ -487,6 +507,13 @@ local function getResourcelist()
487507 videoId = Native :nativeVideoID (),
488508 commonParam = Native :commonParam ()
489509 }
510+
511+ local videoInfo = Native :getVideoInfo ()
512+
513+ if videoInfo [" extendDict" ] ~= nil then
514+ paramData [" videoInfo" ] = videoInfo [" extendDict" ]
515+ end
516+
490517 local paramDataString = Native :tableToJson (paramData )
491518 -- print("[LuaView] getResourcelist")
492519 -- print("[LuaView] "..Native:aesEncrypt(paramDataString, OS_HTTP_PUBLIC_KEY, OS_HTTP_PUBLIC_KEY))
@@ -562,6 +589,13 @@ function show(args)
562589 videoId = Native :nativeVideoID (),
563590 commonParam = Native :commonParam ()
564591 }
592+
593+ local videoInfo = Native :getVideoInfo ()
594+
595+ if videoInfo [" extendDict" ] ~= nil then
596+ paramData [" videoInfo" ] = videoInfo [" extendDict" ]
597+ end
598+
565599 local paramDataString = Native :tableToJson (paramData )
566600 -- print("luaview "..Native:aesEncrypt(paramDataString, OS_HTTP_PUBLIC_KEY, OS_HTTP_PUBLIC_KEY))
567601 mainNode .request :post (OS_HTTP_GET_CONFIG , {
0 commit comments