MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / applyToken

Method applyToken

wxapp/iqoo.js:152–158  ·  view source on GitHub ↗
(data = {})

Source from the content-addressed store, hash-verified

150 }
151
152 applyToken(data = {}) {
153 this.token = data.accessToken || data.token || "";
154 this.refreshToken = data.refreshToken || "";
155 this.userId = data.userId || data.uid || data.userInfo?.userId || data.userInfo?.uid || "";
156 this.userInfo = data.userInfo || data.user || {};
157 this.visitor = data.visitor || this.visitor;
158 }
159
160 queryString(data = {}) {
161 const list = [];

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected