1、rsa加密,加上时间 2、md5对接口做签名----- 加上时间校验–微信开发—api签名 3、登陆认证,token ----- 加上时间校验 4、cookie方式隐式传token 5、使用filter过滤器,整个api接口加认证过滤