API地址:http://api.ruanwenpu.com/ ~~~ X-Ruanwen-Sign生成方式,大写MD5加密(用户名+时间缀+接口密钥) ~~~ Header头 |Header头|Header值| | --- | --- | | X-Ruanwen-User | 用户名 | |X-Ruanwen-Time| 时间缀| |X-Ruanwen-Sign | 校验码| ## 示例(密钥:1111) |Header头|Header值|测试值| | --- | --- |--- | | X-Ruanwen-User | 用户名 |aaaa| |X-Ruanwen-Time| 时间缀|1514974601| |X-Ruanwen-Sign | 校验码|大写MD5(aaaa15149746011111)结果是0A808E73F24A77CA11A2A49CCE30D537| ## 获取用户信息 ~~~[api] post:/Home/Api/userinfo <<< success { "code": 0, "data": "会员资料" "retData": {} } <<< error { "code": 1, "data": "具体错误", "retData": {} } ~~~