请求所有接口都需要传token,port,timestamp,nonce ,开发时候可以传dev免验证, 如果传了dev,前面的全部可以忽略不传
授权验证方式
header内
token : 加密串(
加密方式为md5 ,md5( port +mobile(登陆情况加, pc端跟没登陆情况不用加 )+ timestamp + nonce + key) ) (必传小写)
port:端口 示例: ios,xcx ,pc (必传)
timestamp:当前时间的时间戳 (必传)
nonce : 6位随机数 (必传)
key为2sdfg1dfgfdsa#3w (不需要传)
mobile:手机号 ios跟小程序请求需要登录的接口时传
免授权方式
dev:随便传
port:端口 示例: ios,xcx,pc
mobile:手机号 请求需要登录的接口时传
验证不通过会返回
{
"success": true,
"responseCode": "2000022",
"message": "非法请求",
"result": null,
"args": null
}