Changes between Version 11 and Version 12 of app2.2.0/sign
- Timestamp:
- 11/03/2015 11:20:16 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
app2.2.0/sign
v11 v12 7 7 8 8 {{{#!java 9 1. 将请求参数转为json字符串形式(命名为 str),字符串编码统一为utf-8。9 1. 将请求参数转为json字符串形式(命名为params),字符串编码统一为utf-8。 10 10 2. sign = MD5(str + secretKey)。 11 11 3. 将sign设置到http请求头中(Sign: sign)。 12 4. 用post方式将 str作为参数,请求对应的接口。12 4. 用post方式将params作为参数(params:json字符串),请求对应的接口。 13 13 5. 用户已登陆的情况下需把common_session_id放到cookie里。 14 14 }}}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)