MCPcopy Create free account
hub / github.com/Toulu-debug/enen / main

Method main

jd_windControl.ts:51–68  ·  view source on GitHub ↗
(user: User)

Source from the content-addressed store, hash-verified

49 }
50
51 async main(user: User) {
52 try {
53 this.user = user
54 let res: any
55 this.h5stTool = new H5ST('b63ff', this.user.UserAgent, this.fp, 'https://plus.m.jd.com/rights/windControl', 'https://plus.m.jd.com')
56 await this.h5stTool.__genAlgo()
57 res = await this.api('windControl_queryScore_v1', {})
58
59 console.log('综合:',res.rs.userSynthesizeScore.totalScore)
60 console.log('信用:', res.rs.userDimensionScore.baiScore)
61 console.log('购物合规:', res.rs.userDimensionScore.shop)
62 console.log('售后行为:', res.rs.userDimensionScore.active)
63 console.log('账户信息:', res.rs.userDimensionScore.accountInfo)
64 } catch (e) {
65 console.log(e.message)
66 }
67 await this.wait(3000)
68 }
69}
70
71new jd_WindControl().init().then()

Callers

nothing calls this directly

Calls 4

apiMethod · 0.95
__genAlgoMethod · 0.80
logMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected