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

Method buildWosBody

wxapp/hrj.js:169–180  ·  view source on GitHub ↗
(data = {})

Source from the content-addressed store, hash-verified

167 }
168
169 buildWosBody(data = {}) {
170 return {
171 appid: MINI_APP_ID,
172 basicInfo: { ...ONECRM_BASIC_INFO },
173 extendInfo: { ...EXTEND_INFO },
174 i18n: {
175 language: "zh",
176 timezone: "8",
177 },
178 ...data,
179 };
180 }
181
182 async request(apiPath, data = {}) {
183 const res = await axios.post(`${API_BASE}${apiPath}`, this.buildWosBody(data), {

Callers 1

requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected