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

Method applyToken

wxapp/nice.js:149–153  ·  view source on GitHub ↗
(data = {})

Source from the content-addressed store, hash-verified

147 }
148
149 applyToken(data = {}) {
150 this.token = data.token || data.accessToken || "";
151 this.memberId = data.memberId || data.member_id || "";
152 this.phone = data.phone || data.mobile || "";
153 }
154
155 getHeaders(extra = {}) {
156 return {

Callers 2

runMethod · 0.95
loginByWxCodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected