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

Method pointInfo

wxapp/hezj.js:161–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159 }
160
161 async pointInfo() {
162 const path = "/zjapi/zjBaseServer/signDetail/getUserPointsAndWallet";
163 let options = {
164 method: 'POST',
165 url: API_HOST + path,
166 path,
167 headers: {},
168 data: {
169
170 }
171 };
172 let { data: result } = await this.request(options);
173
174 if (result.retCode == '00000') {
175 $.log(`海贝:${result.data.haiBeiTotal}`)
176 $.log(`红包:${result.data.wallet}`)
177 } else {
178 $.log(`查询余额失败: ${result.retInfo}`)
179 }
180 }
181
182 async signIn() {
183 const path = "/api-gw/zjBaseServer/daily/sign";

Callers 1

runMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected