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

Method api

wxapp/qianjinjiankang.js:170–173  ·  view source on GitHub ↗
(pathname, data = {}, method = "POST")

Source from the content-addressed store, hash-verified

168 }
169
170 async api(pathname, data = {}, method = "POST") {
171 if (!this.tenId) throw new Error("缺少tenId,无法请求业务接口");
172 return this.request(method, `${API_BASE}${pathname}?tenid=${this.tenId}`, data);
173 }
174
175 async getOperateData() {
176 const wxServerUrl = process.env.wx_server_url;

Callers 3

getCustomerInfoMethod · 0.95
getSignTaskStatusMethod · 0.95
signInMethod · 0.95

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected