File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
VideoOS/LuaViewSDK/src/com/taobao/luaview/userdata/kit Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,6 @@ public Varargs invoke(Varargs args) {
227227 String targetType = jsonObject .optString ("targetType" );
228228 JSONObject linkData = jsonObject .optJSONObject ("linkData" );
229229 String downAPI = jsonObject .optString ("downloadApkUrl" );
230- String deepLink = linkData .optString ("deepLink" );
231230 // targetType 1 落地页 2 deepLink 3 下载
232231 if (targetType .equalsIgnoreCase ("3" )) {
233232 JSONObject downloadTrackLink = jsonObject .optJSONObject ("downloadTrackLink" );
@@ -245,9 +244,9 @@ public Varargs invoke(Varargs args) {
245244 .setWidgetActionType (WidgetInfo .WidgetActionType .ACTION_OPEN_URL )
246245 .setUrl ("" );
247246 if (targetType .equalsIgnoreCase ("1" )) {
248- builder .setLinkUrl (downAPI );
247+ builder .setLinkUrl (linkData . optString ( "linkUrl" ) );
249248 } else if (targetType .equalsIgnoreCase ("2" )) {
250- builder .setDeepLink (deepLink );
249+ builder .setDeepLink (linkData . optString ( " deepLink" ) );
251250 }
252251 WidgetInfo widgetInfo = builder .build ();
253252 if (platform .getWidgetClickListener () != null ) {
You can’t perform that action at this time.
0 commit comments