Changes between Version 3 and Version 4 of baby/interface


Ignore:
Timestamp:
06/03/2014 12:02:39 PM (12 years ago)
Author:
hejingdong
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • baby/interface

    v3 v4  
    610610}}} 
    611611 
    612  
    613  
    614  
    615  
    616  
    617  
    618  
    619  
    620  
    621  
    622  
    623  
    624  
    625  
     612=== 6.0 个人中心 === 
     613==== 6.1我的消息数 ==== 
     614{{{ 
     615  备注:我的消息数 
     616  请求URL: 
     617  HTTP请求方式:get 
     618  是否需要登录:否 
     619  返回格式:JSON 
     620  缓存方式:无 
     621  缓存时间:无 
     622  请求参数: 
     623  返回参数 
     624  { 
     625  myTopicsCount:我的圈子数 
     626  myAnswerCount:我的问答数 
     627  myCollectionCount:我的收藏数 
     628  topicsReplyCount:圈子回复数 
     629  answerReply:问答回复数 
     630  articleReply:文章回复数 
     631  } 
     632}}} 
     633 
     634==== 6.2我的交流圈-主贴、精华帖 ==== 
     635{{{ 
     636 备注:我的交流圈-主贴、精华帖 
     637 请求URL: 
     638 HTTP请求方式:get 
     639 是否需要登录:否 
     640 返回格式:JSON 
     641 缓存方式:无 
     642 缓存时间:无 
     643 请求参数: 
     644  type:1主题,2精华帖 
     645  设置header  Cookie = "common_session_id=xxxx"; 
     646  pageNo 
     647  pageSize 
     648 返回参数 
     649 { 
     650   id: 
     651   name: 
     652   topics:[ 
     653    { 
     654       id: 
     655       title: 
     656       des: 
     657       author: 
     658       time: 
     659       collectedNum: 
     660       commentNum: 
     661    } 
     662   ] 
     663 } 
     664}}} 
     665 
     666==== 6.3我的交流圈-回帖 ==== 
     667{{{ 
     668  备注:我的交流圈-回帖 
     669  请求URL: 
     670  HTTP请求方式:get 
     671  是否需要登录:否 
     672  返回格式:JSON 
     673  缓存方式:无 
     674  缓存时间:无 
     675  请求参数: 
     676  设置header  Cookie = "common_session_id=xxxx"; 
     677  pageNo 
     678  pageSize 
     679  返回参数 
     680  { 
     681   id: 
     682   name: 
     683   topics:[ 
     684    { 
     685       id: 
     686       image:"" 
     687       title: 
     688       des: 
     689       author: 
     690       time: 
     691       collectedNum: 
     692       commentNum: 
     693       type:1性福,2婆媳,3情感,4职场,5姐妹,6邻里,7私语,8话题 
     694       replyContent:回复内容 
     695       replyAuthorName: 
     696       replyAuthorId: 
     697       replyTime: 
     698    } 
     699   ] 
     700  } 
     701}}} 
     702 
     703==== 6.4我的问答 ==== 
     704{{{ 
     705  备注:我的问答 
     706  请求URL: 
     707  HTTP请求方式:get 
     708  是否需要登录:否 
     709  返回格式:JSON 
     710  缓存方式:无 
     711  缓存时间:无 
     712  请求参数: 
     713  type:1已解决,2未解决 
     714  设置header  Cookie = "common_session_id=xxxx"; 
     715  pageNo 
     716  pageSize 
     717  返回参数 
     718  { 
     719   questions:[ 
     720    { 
     721       id: 
     722       image:"" 
     723       title: 
     724       des: 
     725       time: 
     726    } 
     727   ] 
     728  } 
     729}}} 
     730 
     731==== 6.5我的收藏 ==== 
     732{{{ 
     733  备注:我的收藏 
     734  请求URL: 
     735  HTTP请求方式:get 
     736  是否需要登录:否 
     737  返回格式:JSON 
     738  缓存方式:无 
     739  缓存时间:无 
     740  请求参数: 
     741  type:1文章  2帖子  3百科 4问答 5课程  6食谱 
     742  设置header  Cookie = "common_session_id=xxxx"; 
     743  pageNo 
     744  pageSize 
     745  返回参数 
     746  { 
     747   collections:[ 
     748    { 
     749       id: 
     750       title: 
     751       des: 
     752    } 
     753   ] 
     754  } 
     755}}} 
     756 
     757==== 6.6删除收藏 ==== 
     758{{{ 
     759  备注:删除收藏 
     760  请求URL: 
     761  HTTP请求方式:post 
     762  是否需要登录:否 
     763  返回格式:JSON 
     764  缓存方式:无 
     765  缓存时间:无 
     766  请求参数: 
     767  设置header  Cookie = "common_session_id=xxxx"; 
     768  id: 
     769  type:1文章  2帖子  3百科 4问答 5课程  6食谱 
     770  返回参数 
     771  { 
     772   msg: 
     773   result: 
     774  } 
     775}}} 
     776 
     777==== 6.7添加收藏 ==== 
     778{{{ 
     779  备注:添加收藏 
     780  请求URL: 
     781  HTTP请求方式:post 
     782  是否需要登录:否 
     783  返回格式:JSON 
     784  缓存方式:无 
     785  缓存时间:无 
     786  请求参数: 
     787  设置header  Cookie = "common_session_id=xxxx"; 
     788  id: 
     789  type:1文章  2帖子  3百科 4问答 5课程  6食谱 
     790  title: 
     791  返回参数 
     792  { 
     793   msg: 
     794   result: 
     795  } 
     796}}} 
     797 
     798==== 6.8圈子回复-主贴 ==== 
     799{{{ 
     800  备注:圈子回复-主贴回复 
     801  请求URL: 
     802  HTTP请求方式:get 
     803  是否需要登录:否 
     804  返回格式:JSON 
     805  缓存方式:无 
     806  缓存时间:无 
     807  请求参数: 
     808  设置header  Cookie = "common_session_id=xxxx"; 
     809  pageNo 
     810  pageSize 
     811  返回参数 
     812  { 
     813   id: 
     814   name: 
     815   topics:[ 
     816    { 
     817       id: 
     818       image:"" 
     819       title: 
     820       des: 
     821       author: 
     822       time: 
     823       collectedNum: 
     824       commentNum: 
     825       type:1性福,2婆媳,3情感,4职场,5姐妹,6邻里,7私语,8话题 
     826       replyContent:回复内容 
     827       replyAuthorName: 
     828       replyAuthorId: 
     829       replyTime: 
     830    } 
     831   ] 
     832  } 
     833}}} 
     834 
     835 
     836==== 6.9圈子回复-回帖回复 ==== 
     837{{{ 
     838  备注:圈子回复-回贴回复 
     839  请求URL: 
     840  HTTP请求方式:get 
     841  是否需要登录:否 
     842  返回格式:JSON 
     843  缓存方式:无 
     844  缓存时间:无 
     845  请求参数: 
     846  设置header  Cookie = "common_session_id=xxxx"; 
     847  pageNo 
     848  pageSize 
     849  返回参数 
     850  { 
     851   id: 
     852   name: 
     853   topics:[ 
     854    { 
     855       id: 
     856       image:"" 
     857       title: 
     858       des: 
     859       author: 
     860       time: 
     861       collectedNum: 
     862       commentNum: 
     863       type:1性福,2婆媳,3情感,4职场,5姐妹,6邻里,7私语,8话题 
     864       myContent:我发的内容 
     865       replyContent:回复内容 
     866       replyAuthorName: 
     867       replyAuthorId: 
     868       replyTime: 
     869    } 
     870   ] 
     871  } 
     872}}} 
     873 
     874==== 6.10问答回复 ==== 
     875{{{ 
     876  备注:问答回复 
     877  请求URL: 
     878  HTTP请求方式:get 
     879  是否需要登录:否 
     880  返回格式:JSON 
     881  缓存方式:无 
     882  缓存时间:无 
     883  请求参数: 
     884  设置header  Cookie = "common_session_id=xxxx"; 
     885  pageNo 
     886  pageSize 
     887  返回参数 
     888  { 
     889   id: 
     890   name: 
     891   answers:[ 
     892    { 
     893       id: 
     894       question:"" 
     895       answer:"" 
     896       authorId: 
     897       authorFace: 
     898       authorName: 
     899       hospital: 
     900       department: 
     901       time: 
     902    } 
     903   ] 
     904  } 
     905}}} 
     906 
     907==== 6.11文章回复 ==== 
     908{{{ 
     909  备注:文章回复 
     910  请求URL: 
     911  HTTP请求方式:get 
     912  是否需要登录:否 
     913  返回格式:JSON 
     914  缓存方式:无 
     915  缓存时间:无 
     916  请求参数: 
     917  设置header  Cookie = "common_session_id=xxxx"; 
     918  pageNo 
     919  pageSize 
     920  返回参数 
     921  { 
     922   id: 
     923   name: 
     924   comments:[ 
     925    { 
     926       id: 
     927       title:"" 
     928       authorId: 
     929       authorFace: 
     930       authorName: 
     931       replyContent: 
     932       content: 
     933       time: 
     934       articleId: 
     935    } 
     936   ] 
     937  } 
     938}}} 
     939 
     940=== 7.0亲子学院 === 
     941==== 7.1亲子学院首页列表 ==== 
     942{{{ 
     943  备注:亲子学院首页列表 
     944  请求URL: 
     945  HTTP请求方式:get 
     946  是否需要登录:否 
     947  返回格式:JSON 
     948  缓存方式:无 
     949  缓存时间:无 
     950  请求参数: 
     951  返回参数 
     952  { 
     953   sections:[ 
     954      { 
     955        title:"最新课程", 
     956        course:[ 
     957          { 
     958            title:"怀孕前需要做的检查", 
     959            image:"", 
     960            id: 
     961          } 
     962        ] 
     963      } 
     964   ] 
     965  } 
     966}}} 
     967 
     968 
     969==== 7.2亲子学院搜索 ==== 
     970{{{ 
     971  备注:亲子学院搜索 
     972  请求URL: 
     973  HTTP请求方式:get 
     974  是否需要登录:否 
     975  返回格式:JSON 
     976  缓存方式:无 
     977  缓存时间:无 
     978  请求参数: 
     979  pageNo 
     980  pageSize 
     981  返回参数 
     982  { 
     983    course:[ 
     984      { 
     985        title:"怀孕前需要做的检查", 
     986        image:"", 
     987        id: 
     988      } 
     989    ] 
     990  } 
     991}}} 
     992 
     993==== 7.3课程详情 ==== 
     994{{{ 
     995  备注:亲子学院课程详情 
     996  请求URL: 
     997  HTTP请求方式:get 
     998  是否需要登录:否 
     999  返回格式:JSON 
     1000  缓存方式:无 
     1001  缓存时间:无 
     1002  请求参数: 
     1003  id:课程id 
     1004  返回参数 
     1005  { 
     1006    id: 
     1007    title:"怀孕前需要做的检查", 
     1008    image:"", 
     1009    des:"视频简介", 
     1010    url: 
     1011    id: 
     1012    expertId: 
     1013    expertName: 
     1014    expertDes:"", 
     1015    expertFace:"", 
     1016    hospital: 
     1017    positionalTitles:职称 
     1018  } 
     1019}}} 
     1020 
     1021==== 7.4相关问答 ==== 
     1022{{{ 
     1023  备注:相关问答 
     1024  请求URL: 
     1025  HTTP请求方式:get 
     1026  是否需要登录:否 
     1027  返回格式:JSON 
     1028  缓存方式:无 
     1029  缓存时间:无 
     1030  请求参数: 
     1031  id:专家id 
     1032  pageNo 
     1033  pageSize 
     1034  返回参数 
     1035  { 
     1036   id: 
     1037   name: 
     1038   questions:[ 
     1039    { 
     1040       id: 
     1041       question:"" 
     1042       answer:"" 
     1043       authorId: 
     1044       authorFace: 
     1045       authorName: 
     1046       hospital: 
     1047       department: 
     1048       time: 
     1049    } 
     1050   ] 
     1051  } 
     1052}}} 
     1053==== 7.5专家介绍 ==== 
     1054{{{ 
     1055  备注:专家介绍 
     1056  请求URL: 
     1057  HTTP请求方式:get 
     1058  是否需要登录:否 
     1059  返回格式:HTML页面 
     1060  缓存方式:无 
     1061  缓存时间:无 
     1062  请求参数: 
     1063    id:专家id 
     1064    pageNo 
     1065    pageSize 
     1066  点击协议 
     1067  向TA提问按钮点击协议  pcbabybible://ask-expert/id 
     1068}}} 
     1069 
     1070==== 7.6视频介绍 ==== 
     1071{{{ 
     1072  备注:视频介绍 
     1073  请求URL:http:// 
     1074  HTTP请求方式:get 
     1075  是否需要登录:否 
     1076  返回格式:html页面 
     1077  缓存方式:无 
     1078  缓存时间:无 
     1079  请求参数: 
     1080   pageNo 
     1081   pageSize 
     1082}}} 
     1083 
     1084 
     1085=== 8.0活动 === 
     1086==== 8.1活动首页 ==== 
     1087{{{ 
     1088  备注:活动首页 
     1089  请求URL:http://www.pcbaby.com.cn/huodong/list/ 
     1090  HTTP请求方式:get 
     1091  是否需要登录:否 
     1092  返回格式:JSON 
     1093  缓存方式:无 
     1094  缓存时间:无 
     1095  请求参数: 
     1096 
     1097}}}