文档中心
API老系统(ADInterface域名)即将停用通知
更新时间: 2019-05-17 10:00:00 访问次数:6395

尊敬的开发者:

您好,感谢您一直以来的支持!

为了提高您调用OpenAPI更安全,提高接口的响应和处理性能,万邑通已于20187月发布了Oauth2.0认证方式的API新系统,运行稳定且接口效率有明显的提升。

为了集中资源更好的服务API新系统。万邑通决定于2019831号,对API老系统(http://api.winit.com.cn/ADInterface/api)进行下线停用,了解到目前还有伙伴还在使用老的对接方式,希望您尽快切换为新的认证方式及域名,以免影响您的使用。请您在831号前,将API调用的域名改为API新系统对接的地址https://openapi.winit.com.cn/openapi/service ,并按照Oauth2.0认证方式的对调用接口基础参数做相应调整。您需要做的调整包括以下内容:

1.  注册开发者账号,创建应用,platform取值取创建应用时的应用Code,获取client_idclient_secret

2.  签名Sign参数的计算做如下调整:

用户签名串 =  token + action + actionValue + app_key + app_keyValue + data + dataValue + format + formatValue + platform + platformValue + sign_method + sign_methodValue + timestamp + timestampValue + version + versionValue + token

需要对签名串中的按字段名的字母顺序拼接(包括data中的json字符串也按此规则)

对以上拼接后的签名串进行MD5运算,并转换成大写的32位签名。

用户签名sign = toUpperCase(MD5(用户签名串))

3.  基础参数中需要增加两个字段client_id1中获取)和client_sign

client_sign取值逻辑如下:

应用签名串 =  client_secretaction + actionValue + app_key + app_keyValue + data + dataValue + format + formatValue + platform + platformValue + sign_method + sign_methodValue + timestamp + timestampValue + version + versionValue + client_secret

需要对签名串中的按字段名的字母顺序拼接(包括data中的json字符串也按此规则)

注意:业务请求参数不变。

 

 

万邑通(WINIT

2019-5-17

关键词