摘要: /** * @getClientIP * @desc 获取用户 ip 地址 * @param {Object} req - 请求 */ function getClientIP(req) { return req.headers['x-forwarded-for'] || // 判断是否有反向代理 阅读全文
posted @ 2021-07-01 14:16 94那抹微笑 阅读(277) 评论(0) 推荐(0)