GithubHelp home page GithubHelp logo

wozaixiaoyuanpuncher's People

Contributors

chorer avatar jimlee2048 avatar zimin9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

wozaixiaoyuanpuncher's Issues

云函数写入问题

utils.processJson("config.json").write(configs)
登录可以成功,但是这段代码在云函数里似乎有些问题,应该在云函数里是无法进行写入的!
执行结果:
`{

"errorCode": -1,

"errorMessage": "user code exception caught",

"requestId": "0935b0f9-7997-47fd-b77f-accd044692b0",

"stackTrace": "Traceback (most recent call last):\n File "/var/user/index.py", line 206, in main_handler\n loginStatus = wzxy.login()\n File "/var/user/index.py", line 45, in login\n self.setJwsession(jwsession)\n File "/var/user/index.py", line 63, in setJwsession\n utils.processJson("config.json").write(configs)\n File "/var/user/utils.py", line 36, in write\n with open(self.path,'w',encoding='utf-8') as file:\nOSError: [Errno 30] Read-only file system: 'config.json'",

"statusCode": 430

}执行日志:登陆成功`

感谢!> 是的,目前好一些的方法就是在Github上使用Action进行部署

是的,目前好一些的方法就是在Github上使用Action进行部署

------------------ 原始邮件 ------------------ 发件人: "zimin9/WoZaiXiaoYuanPuncher" @.>; 发送时间: 2021年8月8日(星期天) 下午4:04 @.>; @.@.>; 主题: Re: [zimin9/WoZaiXiaoYuanPuncher] 云函数写入问题 (#5) 是的,我看了一下文档。云函数不支持编写状态相关的代码,所以禁止文件读写操作。可以考虑接入云数据库,但是这个不是免费的。回头再看看有什么其它解决方案 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

可以使用 leancloud 的云存储服务 我摸索一下

Originally posted by @Chorer in #5 (comment)

“myArea”参数问题

抓包每日健康打卡中Post的数据没有“myArea” ,这个参数是干嘛的?😁

打卡返回{'code': 599, 'message': '其他系统异常'}

抓包的headers:
POST https://gw.wozaixiaoyuan.com/health/mobile/health/save?batch=1700001 HTTP/1.1
Host: gw.wozaixiaoyuan.com
Connection: keep-alive
Content-Length: 227
Accept: application/json, text/plain, /
JWSESSION: d45df9af5841460981745c98dd440441
User-Agent: Mozilla/5.0 (Linux; Android 10; SCMR-W09 Build/HUAWEISCMR-W09; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/4343 MMWEBSDK/20221012 Mobile Safari/537.36 MMWEBID/8277 MicroMessenger/8.0.30.2260(0x28001E55) WeChat/arm64 Weixin Android Tablet NetType/WIFI Language/zh_CN ABI/arm64 miniProgram/wxce6d08f781975d91
Content-Type: application/json;charset=UTF-8
Origin: https://gw.wozaixiaoyuan.com
X-Requested-With: com.tencent.mm
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://gw.wozaixiaoyuan.com/h5/mobile/health/0.3.7/health/detail?id=1700001
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7
Cookie: JWSESSION=d45df9af5841460981745c98dd440441; JWSESSION=d45df9af5841460981745c98dd440441

headers = {
"Host": "gw.wozaixiaoyuan.com",
"Connection": "keep-alive",
# "Content-Length": "227",
"Accept": "application/json, text/plain, /",
"JWSESSION": self.cookies['JWSESSION'],
"User-Agent": "Mozilla/5.0 (Linux; Android 10; SCMR-W09 Build/HUAWEISCMR-W09; wv) AppleWebKit/537.36 ("
"KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/4343 MMWEBSDK/20221012 Mobile "
"Safari/537.36 MMWEBID/8277 MicroMessenger/8.0.30.2260(0x28001E55) WeChat/arm64 Weixin "
"Android Tablet NetType/WIFI Language/zh_CN ABI/arm64 miniProgram/wxce6d08f781975d91",
"Content-Type": "application / json;charset=UTF-8",
"Origin": "https://gw.wozaixiaoyuan.com",
"X-Requested-With": "com.tencent.mm",
"Sec-Fetch-Site": "same-origin",
"Sec-Fetch-Mode": "cors",
"Sec-Fetch-Dest": "empty",
"Referer": "https://gw.wozaixiaoyuan.com/h5/mobile/health/0.3.7/health/detail?id="+ID,
"Accept-Encoding": "gzip, deflate",
"Accept-Language": "zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7"
}

Docker版本来了

作者你好,看到你的计划中有Docker版的设想,我基于你的仓库开发了Docker版
ccqstark/WoZaiXiaoYuanPuncher-Docker
由于忘记fork直接clone了所以没法提PR,所以这里跟你说一声哈😁,算是又新增了一个版本

我在校园登录失败的原因

如果在微信小程序登录成功,之后再使用密码登录将直接判断登录失败!所以需要修改密码,且不能再小程序上登录。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.