Changes between Version 48 and Version 49 of pclady_2.0.0


Ignore:
Timestamp:
04/25/2014 10:54:45 AM (12 years ago)
Author:
xuzhongzhou
Comment:

接口5.7 返回结果增加评论详情页url 接口5.21、5.22、5.23的接口方法从xxx_submit改为xxx_sync避免误解 接口5.24 返回结果增加试用报告地址url 接口5.28 增加试用报告提交状态、试用报告地址 接口5.30 评论详情页url 增加5.42 "试用报告同步"接口

Legend:

Unmodified
Added
Removed
Modified
  • pclady_2.0.0

    v48 v49  
    666666{{{ 
    667667{ 
     668  "review": "",  //url, 评论详情页url 
    668669  "msg": "提交成功!", 
    669670  "ret": 0 
     
    11861187}}} 
    11871188 
    1188 === 5.21 “我的肤质”提交接口 
     1189=== 5.21 “我的肤质”同步接口 
    11891190 
    11901191备注:**需要完善,需要等合作商确认完提供的数据** 
    11911192 
    1192 请求URL:http://cosme.pclady.com.cn/interface/app/v2/skin_submit.jsp 
     1193请求URL:http://cosme.pclady.com.cn/interface/app/v2/skin_sync.jsp 
    11931194 
    11941195HTTP请求方式:POST 
     
    12291230}}} 
    12301231 
    1231 === 5.22 “我的试用”提交接口 
     1232=== 5.22 “我的试用”同步接口 
    12321233 
    12331234备注: 
    12341235 
    1235 请求URL:http://cosme.pclady.com.cn/interface/app/v2/trial_submit.jsp 
     1236请求URL:http://cosme.pclady.com.cn/interface/app/v2/trial_sync.jsp 
    12361237 
    12371238HTTP请求方式:POST 
     
    12681269}}} 
    12691270 
    1270 === 5.23 “我的收藏”提交接口 
     1271=== 5.23 “我的收藏”同步接口 
    12711272 
    12721273备注: 
    12731274 
    1274 请求URL:http://cosme.pclady.com.cn/interface/app/v2/fav_submit.jsp 
     1275请求URL:http://cosme.pclady.com.cn/interface/app/v2/fav_sync.jsp 
    12751276 
    12761277HTTP请求方式:POST 
     
    13491350{{{ 
    13501351{ 
     1352  "report": "",  //uri, 试用报告地址 
    13511353  "msg": "", 
    13521354  "ret": 0 
     
    14441446        "name": " ",    //string, 产品名称 
    14451447        "time": "",             //date, 申请时间 
    1446         "status": 0             //int, 申请状态, 0:审核中, 1:已获得试用 
     1448        "status": 0,    //int, 申请状态, 0:审核中, 1:已获得试用 
     1449        "report_status": 0,  //int, 试用报告提交状态, 0:未提交, 1:已提交 
     1450        "report": ""    //uri, 试用报告地址, report_status为1时必须有地址 
    14471451      } 
    14481452    ], 
     
    15491553        "name": " ",    //string, 产品名称 
    15501554        "desc": "",             //string, 评论内容 
    1551         "status": 0             //int, 评论状态, 0:审核中, 1:审核通过, 2:审核不通过 
     1555        "status": 0,    //int, 评论状态, 0:审核中, 1:审核通过, 2:审核不通过 
     1556        "review": ""       //url, 评论详情页url 
    15521557      } 
    15531558    ], 
    1554     "general": 99,              //int, 普通 
    1555         "digest": 98,           //int, 精华 
    1556         "unpass": 1,            //int, 不通过 
     1559    "general": 99,      //int, 普通 
     1560    "digest": 98,               //int, 精华 
     1561    "unpass": 1,                //int, 不通过 
    15571562  }, 
    15581563  "msg": "", 
     
    18351840} 
    18361841}}} 
     1842 
     1843=== 5.42 "试用报告同步"接口 
     1844 
     1845备注:新增 
     1846 
     1847请求URL:http://cosme.pclady.com.cn/interface/app/v2/report_sync.jsp 
     1848 
     1849HTTP请求方式:POST 
     1850 
     1851是否需要登录:是 
     1852 
     1853返回格式:json 
     1854 
     1855缓存方式:* 
     1856 
     1857缓存时间:* 
     1858 
     1859请求参数: 
     1860 
     1861{{{ 
     1862openUdid //匿名用户ID 
     1863common_session_id //登录用户ID 
     1864list:[ 
     1865  id1, //试用报告ID 
     1866  id2, //试用报告ID 
     1867  id3 //试用报告ID 
     1868] 
     1869}}} 
     1870 
     1871请求后端URL:* 
     1872 
     1873请求后端参数:* 
     1874 
     1875返回 
     1876 
     1877{{{ 
     1878{ 
     1879  "msg": "", 
     1880  "ret": 0 
     1881} 
     1882}}}