Coder Social home page Coder Social logo

Comments (7)

pengpan avatar pengpan commented on June 26, 2024

这个链接打开获取不到信息,有deptId吗?具体哪个科室?

from 91160-cli.

Maoao530 avatar Maoao530 commented on June 26, 2024

应该是这个链接:https://www.91160.com/dep/show/depid-200249295.html

医院:深圳市木棉花健康医疗有限公司木棉花门诊部 'unit_id': '200076552', #
科室:生殖 • 妇科 • 中医 'dep_id': '200249295', #
医生:眭茜 'doc_id': '200551928', #

from 91160-cli.

pengpan avatar pengpan commented on June 26, 2024

用这个配置,我试了下是可以刷号的

# 91160账号
userName=[your userName]
# 91160密码
password=[your password]
# 就诊人编号
memberId=[your memberId]
# 城市编号
cityId=5
# 医院编号
unitId=200076552
# 大科室编号
bigDeptId=1
# 小科室编号
deptId=200249295
# 医生编号
doctorId=200551928
# 需要周几的号[可多选,如(6,7)]
weeks=1,2,3,4,5,6,7
# 时间段编号[可多选,如(am,pm)]
days=am,pm
# 刷号休眠时间[单位:秒]
sleepTime=5

from 91160-cli.

Maoao530 avatar Maoao530 commented on June 26, 2024

感谢大佬,程序确实可以刷了。再请教一下哈,因为这个医生的号,是提前两周放号。比如5.30号17:00点放6.14的号。看log请求返回的都是本周的,有没有办法可以抢未来2周或者某个日期的号呢?

如果可以,那么我的config要怎么配置呢?

需要周几的号[可多选,如(6,7)]

weeks=2

时间段编号[可多选,如(am,pm)]

days=am,am

刷号休眠时间[单位:秒]

sleepTime=15

是否开启定时挂号[true/false]

enableAppoint=true

定时挂号时间[格式: 2022-06-01 15:00:00] ==》 是改这里?

appointTime=2022-06-14 15:00:00

from 91160-cli.

pengpan avatar pengpan commented on June 26, 2024

因为刷号接口一次只会返回一周的号,我今天会加一个配置:起始刷号日期,填上这个日期就可以去刷这个日期后一周的号。
如你需要6.14的号,那起始刷号日期为6.8,weeks就填6.14对应的2(周二)即可。
appointTime为定时挂号时间,这个是表示会在设定的时间才开启抢票,也就是医院放号的时间,你也可以设置成5.30 17:00

from 91160-cli.

Maoao530 avatar Maoao530 commented on June 26, 2024

这也太好了吧!!

术业有专攻,感谢大佬!

from 91160-cli.

pengpan avatar pengpan commented on June 26, 2024

v1.0.6,增加自定义刷号起始日期

# 刷号起始日期(表示刷该日期后一周的号,为空取当前日期)[格式: 2022-06-01]
brushStartDate=

from 91160-cli.

Related Issues (20)

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.