原始数据采用了aes192加密解密
https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html
https://github.com/yuanfux/aws-lambda-user
-
sls offline
-
登录获取token curl 'http://localhost:3000/auth-user/login?a=123&b=456' -X POST --data '{"name":"zhangsan","password":"3289*&(#&(5NNjsd"}' -H 'Content-type:application/json'
-
打开首页验证authorizer curl 'http://localhost:3000/auth-user/home' -X GET -H "Authorization:Bearer ..." --data '{"text":""}'