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

Function getmoyimo

wxapp/zhanma.js:773–798  ·  view source on GitHub ↗

* 摸一摸 *

(timeout = 2 * 1000)

Source from the content-addressed store, hash-verified

771 *
772 */
773function getmoyimo (timeout = 2 * 1000) {
774 return new Promise((resolve) => {
775 let url = {
776 url: `https://zm.t7a.cn/api/strokehorse.php?safe=${zmnlxq}`,
777 headers: {
778 'Host': 'zm.t7a.cn',
779 'user-agent': 'Mozilla/5.0 (Linux; Android 10; MI 8 Build/QKQ1.190828.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/3235 MMWEBSDK/20220204 Mobile Safari/537.36 MMWEBID/6242 MicroMessenger/8.0.20.2080(0x28001435) Process/appbrand0 WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64 miniProgram/wx532ecb3bdaaf92f9'
780 },
781 // body: '',
782
783 }
784 $.get(url, async (error, response, data) => {
785 try {
786 result = JSON.parse(data)
787
788 console.log(result.msg)
789
790
791 } catch (e) {
792 console.log(e)
793 } finally {
794 resolve();
795 }
796 }, timeout)
797 })
798}
799
800/**
801 * 喂马

Callers 1

zhanma.jsFile · 0.85

Calls 2

getMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected