API文档
API测试
APP上传更新
帐户: 密码:
(新)新版app变更API列表:
  1. 用户登录:http://app.zydp.net//user/login?loginname=hades&password=123456
  2. 发送短信验证码:http://app.zydp.net//user/verificationCode?tel=11002885622
  3. 用户注册:http://app.zydp.net//user/register?password=123456&tel=13019000000&verification_code=632958&randomToken=5j2RLq6yEnqEEsntl8IpduNiYe3o5O1vvBUL4GL7|Ys=
  4. 更新token:http://app.zydp.net//user/refreshToken
  5. 找回密码手机验证:http://app.zydp.net//user/verify?tel=13019000000&&verificationCode=632958&randomToken=5j2RLq6yEnqEEsntl8IpduNiYe3o5O1vvBUL4GL7|Ys=
  6. 重置密码:http://app.zydp.net//user/reset?password=123456&&confirmPassword=123456&randomToken=5j2RLq6yEnqEEsntl8IpduNiYe3o5O1vvBUL4GL7|Ys=
  7. 注销:http://app.zydp.net//user/logOff
  8. 绑定手机号:http://app.zydp.net//account/bindMobile?tel=13019000000&verificationCode=632958&randomToken=5j2RLq6yEnqEEsntl8IpduNiYe3o5O1vvBUL4GL7|Ys=
  9. 检查是否已绑定手机号:http://app.zydp.net//account/checkBindMobile
  10. 获取七牛Token:http://app.zydp.net//setting/qiniuToken?keys=['a','b']&kind=0
  11. 修改密码:http://app.zydp.net//user/changePassword?oldPassword=1234&password=123456
  12. 取当前登录用户信息:http://app.zydp.net//user/get
  13. 提现验证用户登录密码:http://app.zydp.net//account/verify?password=123456
  14. 用户提现/退款:http://app.zydp.net//account/refund?alipayEmail=支付宝账号&alipayName=支付宝收款人姓名&amount=0.01
  15. 支付宝/微信充值:http://app.zydp.net//pay/recharge?fee=0.01&payFrom=0|1
  16. App banner:http://app.zydp.net//setting/banner
  17. 医生新增/修改欢迎语:http://app.zydp.net//setting/addWelcome?content=欢迎语内容
  18. 医生获取欢迎语:http://app.zydp.net//setting/getWelcome
  19. 修改用户显示名:http://app.zydp.net//user/changeName?name=tom
  20. 用户头像设置:http://app.zydp.net//account/profile?avatarFile=头像七牛地址
  21. 资产总额:http://app.zydp.net//setting/asset
  22. 资产明细:http://app.zydp.net//setting/cost
  23. 用户反馈:http://app.zydp.net//setting/addFeedback?content=反馈内容
  24. 取用户反馈:http://app.zydp.net//setting/feedbackList?pageIndex=1&pageSize=10
  25. 是否接受网络咨询设置:http://app.zydp.net//setting/allowConsult?allowConsult=1
  26. 是否接受指定咨询:http://app.zydp.net//setting/contractMode?contractMode=1
  27. 是否振动提示消息:http://app.zydp.net//setting/vibrate?isVibrate=1
  28. 病人列表:http://app.zydp.net//patient/list?kind=0,1,2
  29. 地区选择:http://app.zydp.net//setting/area?pcode=11
  30. 获取医生职称:http://app.zydp.net//doctor/doctorTitle
  31. 获取首页文章分类:http://app.zydp.net//community/articleLinks?count=6
  32. 医生入驻申请:http://app.zydp.net//doctor/apply?contractMode=0&price=80&area=四川省成都市&description=简介&realname=真实姓名&skill=擅长&tcmWmView=中西医看法&title=职称&signaturePic=签名base64字符串&cert=[{kind:0,certPic:"文件上传七牛地址"}]
  33. 医生审核检查:http://app.zydp.net//doctor/check
  34. 添加病人:http://app.zydp.net//patient/add?name=tom&nick=black rose&gender=1&birth_date=2014-10-01&height=100&weight=12&area=四川成都&medical_history_json={medicalHistorySituation:[1,2],geneticHistory:'',infectionHistory:'',allergyHistory:'',medicalHistorySupplement:''}
  35. 修改病人:http://app.zydp.net//patient/edit?id=1&name=tom&nick=black rose&gender=1&birth_date=2014-10-01&height=100&weight=12&area=四川成都&medical_history_json={medicalHistorySituation:[1,2],geneticHistory:'',infectionHistory:'',allergyHistory:'',medicalHistorySupplement:''}
  36. 医生咨询价格设置:http://app.zydp.net//doctor/setPrice?price=30&studio_id=1
  37. 取医生列表:http://app.zydp.net//doctor/list?pageIndex=1&pageSize=10&studioId=1&searchKey=jerry
  38. 取指定医生:http://app.zydp.net//doctor/get?id=1
  39. 工作室列表:http://app.zydp.net//studio/list?pageIndex=1&pageSize=10&search_key=jerry&includeDoctor=1
  40. 咨询前提示的用户协议:http://app.zydp.net//user/agreement
程序访问API列表:
  1. 用户咨询列表:http://app.zydp.net//issue/userConsult?pageIndex=1&pageSize=10
  2. 用户辨证练习:http://app.zydp.net//issue/practice?pageIndex=1&pageSize=10
  3. 医生待接诊列表:http://app.zydp.net//issue/doctorConsultWaiting?pageIndex=1&pageSize=10
  4. 医生已接诊列表:http://app.zydp.net//issue/doctorConsultAccepted?pageIndex=1&pageSize=10
  5. 用户诊后反馈:http://app.zydp.net//issue/feedback?issue_id=1&content=反馈内容
  6. 历史病历:http://app.zydp.net//issue/historyConsultation?issue_id=1&pageIndex=1&pageSize=10
  7. 问诊单预览:http://app.zydp.net//web/consultation?test=true&issueType=0
  8. 用户资料修改保存:http://app.zydp.net//account/info?avatar_file=头像七牛地址&name=姓名&title=职称&gender=1&birthday=2015-01-10&tel=13102885622&verification_code=632958&skill=擅长技能&_token=edbafc05738d4e26afd24cf147f2099e
  9. 取数据访问token:http://app.zydp.net//user/token
  10. 设置用户已读《羊爸爸用户协议》:http://app.zydp.net//user/read
  11. 大家社区文章:http://app.zydp.net//community/list
  12. (新)App首页文章:http://app.zydp.net//community/article?pageIndex=1&pageSize=10
  13. 取提问咨询价格:http://app.zydp.net//issue/price?studio_id=0&doctor_id=0&consult_mode=0
  14. 发起咨询问题:http://app.zydp.net//issue/add?patient_id=1&studio_id=0&doctor_id=0&consult_mode=0&title=test&content=jsonString&fee=80&issue_type=0&coupon_id=1&issue_kind=0&practice_json={text:'',attaches:[]}
  15. 辨证练习转问题:http://app.zydp.net//issue/toIssue?id=0&studio_id=0&doctor_id=0&consult_mode=0&fee=80&issue_type=0
  16. 删除咨询:http://app.zydp.net//issue/del?issue_id=1
  17. 用户撤销咨询:http://app.zydp.net//issue/revoked?issue_id=1
  18. 医生接受咨询:http://app.zydp.net//issue/accept?issue_id=1
  19. 问题抢单:http://app.zydp.net//issue/grab?id=1
  20. 医生建议:http://app.zydp.net//issue/advise?issue_id=1&advised_type=1&chief_complaint=test&symptom=test&treatment=test&advised_content=test&doctor_enjoin=医嘱内容
  21. 用户评价:http://app.zydp.net//issue/evaluate?issue_id=1&take_advice=0&see_other_doctor=0&doctor_effect=5&doctor_attitude=5&doctor_respond=5&other_estimate=test
  22. 正在咨询问题:http://app.zydp.net//issue/doing?pageIndex=1&pageSize=10
  23. 已完成咨询问题:http://app.zydp.net//issue/complete?pageIndex=1&pageSize=10
  24. 抢单中咨询问题:http://app.zydp.net//issue/waiting?pageIndex=1&pageSize=10
  25. 取指定问题详情:http://app.zydp.net//issue/get?id=1
  26. 取指定病人:http://app.zydp.net//patient/get?id=1
  27. 删除指定病人:http://app.zydp.net//patient/del?id=1
  28. 当前用户所加入的工作室:http://app.zydp.net//studio/studios
  29. 取医生咨询价格:http://app.zydp.net//doctor/price?studio_id=1
  30. 设置医生已读《羊爸爸医生用户入驻协议》:http://app.zydp.net//doctor/read
  31. 问题历史消息:http://app.zydp.net//message/list?issue_id=1&serial_number=1,4,6,9
  32. 用户反馈回复(客户端可能用不到):http://app.zydp.net//setting/feedbackReply?content=回复内容&feedback_id=1
  33. android APP更新接口:http://app.zydp.net//app/update?app_name=woodpecker
  34. 存消息接口:http://app.zydp.net//message/save?data=[{…},{…}]
  35. 关注医生或工作室:http://app.zydp.net//user/collect?data=URLEncoder字符串
  36. 取消关注医生或工作室:http://app.zydp.net//user/undo?id=1&kind=1
  37. 取已关注医生或工作室:http://app.zydp.net//user/favorites?kind=1
  38. 用户签到:http://app.zydp.net//user/sign
  39. 积分明细:http://app.zydp.net//user/integrals?pageIndex=1&pageSize=10
  40. 抽奖活动:http://app.zydp.net//event/list?kind=0
  41. 取活动对应奖品:http://app.zydp.net//event/prize?event_id=1
  42. 活动抽奖:http://app.zydp.net//event/draw?event_id=1
  43. 用户的奖券:http://app.zydp.net//event/coupon
  44. 医生结束问题:http://app.zydp.net//issue/end?id=1
  45. 上传用户数据:http://app.zydp.net//user/loadUserData
  46. 用户分享得积分:http://app.zydp.net//user/share?share_url=分享的URL地址&share_kind=QQ|WEIXIN_CIRCLE|WEIXIN|SINA
  47. 常用医嘱:http://app.zydp.net//issue/enjoin
  48. 咨询评价回复:http://app.zydp.net//issue/reply?issue_id=1&content=回复内容
  49. 取回复数据:http://app.zydp.net//issue/replies?issue_id=1&pageIndex=1
  50. 取服务器时间(毫秒):http://app.zydp.net//setting/time
web页面调用地址:
  1. 问题查看:http://app.zydp.net//web/issue?issue_id=1416382083317534786
  2. 医生建议查看:http://app.zydp.net//web/advice?issue_id=1416382083323494832
  3. 医生详细信息查看:http://app.zydp.net//web/doctor?doctor_id=17646523156987456253
  4. 工作室信息查看:http://app.zydp.net//web/studio?studio_id=8366026699550719382
  5. 医生查看用户评论:http://app.zydp.net//web/evaluate?issue_id=1416382083317542421
  6. 羊爸爸用户协议:http://app.zydp.net//web/word?file_name=user-agreement.doc
  7. 羊爸爸医生用户入驻协议:http://app.zydp.net//web/word?file_name=doctor-agreement.doc
  8. 新手手册:http://app.zydp.net//web/word?file_name=novice-manual.doc
  9. 二维码扫描:http://app.zydp.net//scan.jsp?uid=1000000
  10. openinstall安装:http://app.zydp.net//install.jsp?uid=1000000
ios临时使用接口:
  1. 问题集中取数:http://app.zydp.net//issue/list?pageIndex=1&pageSize=10
测试:
  1. 测试用户管理:http://app.zydp.net//test/test
  2. 苹果应用对象控制:http://app.zydp.net//appleControlList
羊爸爸APP

浏览器请扫描以上二维码下载

羊爸爸APP

QQ、微信请扫描以上二维码下载