MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / applyToken

Method applyToken

wxapp/gujiajiaju.js:144–147  ·  view source on GitHub ↗
(data = {})

Source from the content-addressed store, hash-verified

142 }
143
144 applyToken(data = {}) {
145 this.accessToken = data.accessToken || data.token || this.accessToken;
146 this.memberId = String(data.memberId || this.memberId || "");
147 }
148
149 async request({ method = "POST", url, data = {}, params = {}, withAuth = true, withTmpToken = true }) {
150 const timestamp = Date.now();

Callers 2

getUserInfoMethod · 0.95
ensureLoginMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected