Changes between Version 6 and Version 7 of app2.2.0/sign


Ignore:
Timestamp:
10/27/2015 11:42:37 AM (10 years ago)
Author:
wuyuanbo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • app2.2.0/sign

    v6 v7  
    66 
    77{{{#!java 
    8 1. 将请求参数转为json字符串形式,字符串编码统一为utf-8。 
    9 2. sign = MD5(json + secretKey)。 
     81. 将请求参数转为json字符串形式(命名为str),字符串编码统一为utf-8。 
     92. sign = MD5(str + secretKey)。 
    10103. 将sign放到http请求头中(Sign: sign)。 
    11 4. 用post方式将json字符串作为参数,请求对应的接口。 
     114. 用post方式将str作为参数,请求对应的接口。 
    1212}}} 
    1313