leyoumake

Results 7 comments of leyoumake

:) 转了一圈,这个功能是还没实现是吧?

very good example,now me already stars,thank you~

Hi Guy ,You Can Try this ```go router.StaticFS("/", gin.Dir("public", false)) ```

可以加入双向验证,服务端生成的token在二次加密(不可逆),然后返回至客户端,客户端拿到token再去跟服务器交流会话,服务器按对应的token在本地查找是否存在,然后在做对应的解析

![image](https://user-images.githubusercontent.com/42708003/92074739-62dc7780-ede9-11ea-81db-5654311f7352.png)

swoole的 Request可以拿到数据,建议 **notify** 方法,可以接收外部传入参数