Changes between Version 8 and Version 9 of API/BBS/Upload-Picture


Ignore:
Timestamp:
04/21/2011 11:57:21 AM (15 years ago)
Author:
lee
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • API/BBS/Upload-Picture

    v8 v9  
    2424format : json  
    2525 
     26example:  
     27 
     28{{{ 
     29#!py 
     30{ 
     31    "retCode":0, 
     32    "tid":1035162 
     33    "files": 
     34    [ 
     35        { 
     36            "fileSize":71007, 
     37            "height":480, 
     38            "rid":1510777, 
     39            "width":320, 
     40            "fileName":"1035162_1303205757907.jpg", 
     41            "audit":"New", 
     42            "orgFileName":"m.jpg", 
     43            "isorg":1, 
     44            "url":"http://test745.pcauto.com.cn:9192/upcfiles/yidong/1104/19/c0/1035162_1303205757907.jpg" 
     45        } 
     46    ], 
     47} 
     48 
     49}}} 
     50 
     51== Resposne Code == 
     52 
     53Resposne code in JSON data 
    2654 
    2755|| enum  || code || desc ||  
     
    5078== Java Demo == 
    5179 
    52 {{{ 
    53 #!json 
    54 { 
    55     "retCode":0, 
    56     "tid":1035162 
    57     "files": 
    58     [ 
    59         { 
    60             "fileSize":71007, 
    61             "height":480, 
    62             "rid":1510777, 
    63             "width":320, 
    64             "fileName":"1035162_1303205757907.jpg", 
    65             "audit":"New", 
    66             "orgFileName":"m.jpg", 
    67             "isorg":1, 
    68             "url":"http://test745.pcauto.com.cn:9192/upcfiles/yidong/1104/19/c0/1035162_1303205757907.jpg" 
    69         } 
    70     ], 
    71 } 
    72         }}} 
     80 
    7381 
    7482