Changes between Version 9 and Version 10 of pconline_3.7.0/interface
- Timestamp:
- 01/13/2015 04:11:33 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pconline_3.7.0/interface
v9 v10 398 398 === 2.8 [=#point208 个人中心 - 发私信、回复私信接口] === 399 399 {{{ 400 备注:发私信、回复私信接口 400 备注:发私信、回复私信接口 401 提示信息说明: 402 发送成功(code=0)后的提示:"发送成功" 403 发送失败(code!=0)的提示:分2种,匹配message字段; 404 当message字段为"请先绑定邮箱"时,提示"发送失败,请到网站个人中心绑定电子邮箱" 405 当message字段为其他内容时,提示"信息错误,发送失败!" 406 401 407 请求URL:http://bip.pconline.com.cn/intf/message.jsp 402 408 HTTP请求方式:post … … 406 412 缓存时间:无 407 413 请求参数: 408 accountId:用户ID 409 act=create 410 accountId:发送给某个用户 411 content:消息内容 412 captcha:验证码 413 req_enc:UTF-8 414 resp_enc:UTF-8 414 必填参数: 415 act:create 416 content:私信内容 417 accountId: 接收私信者ID(以数组的形式接收,即&accountId=123&accountId=456),最多5个用户,白名单才能发送最多50个用户 418 419 非必填参数: 420 replyId:回复的私信ID 421 captcha:验证码,汽车网例外,凡是以bip.pcauto.com.cn/调用的不检查验证码 422 callback :支持回调函数,=windowname时表示以windowname形式返回 423 windowname :1或true 以windowname形式返回,不传或0或false以json格式返回 424 415 425 (说明:发送限制) 416 426 1.post … … 422 432 7.添加关键词库过滤 423 433 返回参数: 424 {code:0,message:"提示"} 434 失败:{"code":-1,"message":"验证码不正确"} 435 {"code":-1,"message":"非法请求"} 436 {"code":-1,"message":"操作数据失败"} 437 {"code":-1,"message":"请先绑定邮箱"} 438 {"code":-1,"messgae":"最多只能同时向50个用户发送短消息"} 439 {"code":-1,"messgae":"您还没有登录,请先登录"} 440 {"code":-1,"messgae":"缺少发送者Id"} 441 {"code":-1,"messgae":"缺少内容"} 442 {"code":-2,"message":"缺少参数"}senderId在黑名单内 443 {"code":-1,"messgae":"短信内容包含关键字"} 444 {"code":-3,"message":"缺少参数"}senderId不存在 445 {"code":-100,"messgae":"接口访问频繁,请休息一会再试"} 446 {"code":2,"messgae":"对方在你的黑名单内:"} 447 成功:{"code":0} 425 448 }}} 426 449
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)