Changes between Version 6 and Version 7 of app2.2.0/sign
- Timestamp:
- 10/27/2015 11:42:37 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
app2.2.0/sign
v6 v7 6 6 7 7 {{{#!java 8 1. 将请求参数转为json字符串形式 ,字符串编码统一为utf-8。9 2. sign = MD5( json+ secretKey)。8 1. 将请求参数转为json字符串形式(命名为str),字符串编码统一为utf-8。 9 2. sign = MD5(str + secretKey)。 10 10 3. 将sign放到http请求头中(Sign: sign)。 11 4. 用post方式将 json字符串作为参数,请求对应的接口。11 4. 用post方式将str作为参数,请求对应的接口。 12 12 }}} 13 13
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)