Changes between Version 60 and Version 61 of pcauto_4.5.0/interface


Ignore:
Timestamp:
09/22/2014 09:57:17 AM (12 years ago)
Author:
chenziyang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_4.5.0/interface

    v60 v61  
    570570    } 
    571571    样例: 
    572     json = {"tids":"11","fid":"22","target":"1","type":"pickB","pickClassify":"1","reason":"原因","sendmsg":"true"} 
    573     返回结果: 
     572    json = {"tids":"4822476","fid":"20886","target":"1","type":"pickB","pickClassify":"1","reason":"原因","sendmsg":"true"} 
     573    返回结果: 
     574未登录:status=6 
     575被锁:status=7 
     576其他都是抛出异常,然后统一处理,所以code、status一样 
    574577{ 
    575578    "pickInfo": [ 
     
    612615    } 
    613616    样例: 
    614     json = { "fid": "11", "tid": "22", "pid": "33", "sendmsg": "true","scoreName2": "44" } 
    615     返回结果: 
    616  
     617    json = { "fid": "20886", "tid": "4822476", "pids": "46765224", "sendmsg": "true","scoreName2": "1" } 
     618    返回结果: 
     619未登录:status=6 
     620被锁:status=7 
     621其他都是抛出异常,然后统一处理,所以code、status一样 
     622{ 
     623    "gradeInfo": [ 
     624        { 
     625            "desc": "操作成功", 
     626            "status": 0 
     627        } 
     628    ] 
     629} 
     630{ 
     631    "gradeInfo": [ 
     632        { 
     633            "desc": "请登录后操作", 
     634            "status": 6 
     635        } 
     636    ] 
     637} 
     638{ 
     639    "gradeInfo": [ 
     640        { 
     641            "code": "0000001", 
     642            "desc": "您对此帖已经评过贡献(馒头)", 
     643            "status": -1 
     644        } 
     645    ] 
     646} 
    617647}}} 
    618648