MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / getUserPoints

Method getUserPoints

wxapp/guyu.js:189–207  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187
188 }
189 async getUserPoints() {
190 let options = {
191 method: 'GET',
192 url: `https://mall-mobile-v6.vecrp.com/mobile/customer/getMyAllPoint`,
193 params: {
194 shopId: '100186753'
195 },
196 headers: {},
197
198 }
199 let {
200 data: result
201 } = await this.request(options);
202 if (result?.success) {
203 $.log(`账号[${this.index}]` + `积分:${result.result[0].score}`);
204 } else {
205 $.log(`账号[${this.index}] 获取积分-失败:${result.msg}❌`)
206 }
207 }
208
209
210

Callers 1

runMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected