Changes between Version 11 and Version 12 of app2.2.0/sign


Ignore:
Timestamp:
11/03/2015 11:20:16 AM (10 years ago)
Author:
wuyuanbo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • app2.2.0/sign

    v11 v12  
    77 
    88{{{#!java 
    9 1. 将请求参数转为json字符串形式(命名为str),字符串编码统一为utf-8。 
     91. 将请求参数转为json字符串形式(命名为params),字符串编码统一为utf-8。 
    10102. sign = MD5(str + secretKey)。 
    11113. 将sign设置到http请求头中(Sign: sign)。 
    12 4. 用post方式将str作为参数,请求对应的接口。 
     124. 用post方式将params作为参数(params:json字符串),请求对应的接口。 
    13135. 用户已登陆的情况下需把common_session_id放到cookie里。 
    1414}}}