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

Method miniHeaders

wxapp/oppo.js:131–146  ·  view source on GitHub ↗
(extra = {})

Source from the content-addressed store, hash-verified

129 }
130
131 miniHeaders(extra = {}) {
132 return {
133 "content-type": "application/json",
134 s_channel: "oppo",
135 source_type: "2",
136 s_version: "010000",
137 spCallSource: "oppohy",
138 Referer: `https://servicewechat.com/${APP.appid}/${APP.version}/page-frame.html`,
139 sessionId: this.sessionId || "",
140 NEWOPPOSID: this.encryptedSession || "",
141 openid: this.openId || "",
142 sa_distinct_id: this.openId || "",
143 constToken: this.sessionId || "",
144 ...extra,
145 };
146 }
147
148 h5Headers(extra = {}) {
149 return {

Callers 1

miniRequestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected