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

Method applyToken

wxapp/haitian.js:167–173  ·  view source on GitHub ↗
(data = {})

Source from the content-addressed store, hash-verified

165 }
166
167 applyToken(data = {}) {
168 this.token = data.accessToken || data.token || "";
169 this.refreshToken = data.refreshToken || "";
170 this.communityToken = data.communityToken || "";
171 this.uuid = data.uuid || this.uuid;
172 this.userInfo = data.userInfo || {};
173 }
174
175 headers(extra = {}, auth = true, isJson = false) {
176 const headers = {

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected