@@ -168,8 +168,6 @@ function YLQCustom(props: PropsWithChildren<CustomPropsType>) {
adType: ownAdSystemType
} = adData
- const userCode = Taro?.$global?.userCode || Taro.getStorageSync('userCode') || ''
-
return {
adpCode: trafficCode,
advertiserCode,
@@ -186,8 +184,7 @@ function YLQCustom(props: PropsWithChildren<CustomPropsType>) {
bidCreativeParam: JSON.stringify(bidCreativeParam || {}), // {}
adpId,
pqtId,
- ownAdSystemType,
- userCode
+ ownAdSystemType
}
@@ -3,14 +3,6 @@ import Taro from '@tarojs/taro'
function loadPlugin() {
Taro.$global = createTaroGlobal()
listenNetwork()
- Taro.pluginLogin({
- success(res) {
- const { code } = res || {}
- Taro.$global.userCode = code
- Taro.setStorageSync('userCode', code)
- }
- })
function createTaroGlobal() {