Skip to content

Commit fe30aea

Browse files
committed
更新 jdapp_to_union.js
1 parent e258083 commit fe30aea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Script/jdapp_to_union.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const UA = $request.headers['User-Agent'];
2121
const appType = UA.match(/(.+?);/)[1];
2222
let sku;
2323
let arr = [];
24-
const isWeChatMiniApp = $.getData('id77_JDLM_platform') === 'WeChat-MiniApp';
24+
const isWeChatMiniApp = $.getData('id77_JDLM_platform') !== 'JDLM-WEB/APP';
2525

2626
if (url.includes('graphext/draw')) {
2727
arr = url.match(/sku=(\d+)/);

0 commit comments

Comments
 (0)