Changes between Version 67 and Version 68 of baby/interface


Ignore:
Timestamp:
07/17/2014 04:32:46 PM (12 years ago)
Author:
xuzhongzhou
Comment:

更新论坛发帖、回帖接口

Legend:

Unmodified
Added
Removed
Modified
  • baby/interface

    v67 v68  
    482482}}} 
    483483 
    484  
    485 ==== 4.4帖子是否已收藏 (请试用6.5.1是否已收藏接口)==== 
    486 {{{ 
    487   备注:帖子是否已收藏 
    488   接口开发:郭公仆 
    489   请求URL: 
    490   HTTP请求方式:get 
    491   是否需要登录:否 
    492   返回格式:JSON 
    493   缓存方式:无 
    494   缓存时间:无 
    495   请求参数: 
    496   tid: 
     484==== 4.4发帖接口 ==== 
     485{{{ 
     486  http://bbs.pcbaby.com.cn/forums.jsp 发帖接口 
     487 
     488  参数 
     489  forumId:板块ID 
     490  title:主题标题 
     491  category:发主贴时的帖子类别 1性福,2婆媳,3情感,4职场,5姐妹,6邻里 
     492  message:内容 
     493  anonymous:是否匿名 1为匿名 0为不匿名 
    497494  设置header  Cookie = "common_session_id=xxxx"; 
     495 
     496  说明:POST 
     497   
    498498  返回参数 
    499499  { 
     
    503503}}} 
    504504 
    505 ==== 4.5回帖、发帖 ==== 
    506 {{{ 
    507   备注:回帖、发帖 
    508   接口开发:丁健勇 
    509   请求URL:http:// 
    510   HTTP请求方式:post 
    511   是否需要登录:是 
    512   返回格式:JSON 
    513   缓存方式:无 
    514   缓存时间:无 
    515   请求参数: 
    516    agent:1待验证 
    517    message = 内容; 
    518    replyToId = 回帖楼层id 
    519    category:性福,婆媳,情感,职场,姐妹,邻里---分类 
    520    anonymous 代表是否匿名, 1为匿名,0为正常 
    521    设置header  Cookie = "common_session_id=xxxx"; 
     505==== 4.5回帖接口 ==== 
     506{{{ 
     507    http://bbs.pcbaby.com.cn/topics.jsp 回帖接口 
     508 
     509  参数 
     510  topicId:主题ID 
     511  title:主题标题 
     512  message:内容 
     513  anonymous:是否匿名 1为匿名 0为不匿名 
     514  replyToId:回复楼层的id 
     515  设置header  Cookie = "common_session_id=xxxx"; 
     516 
     517  说明:POST 
     518 
    522519  返回参数 
    523520  {