摘要:
1、修改auto_master 编译 /etc/auto_master 文件,注释掉或者移除以 /home 开头的那一行,保存。 sudo vim /etc/auto_master 注释掉 /home 哪一行,如下所示: # # Automounter master map # +auto_mast 阅读全文
摘要:
proxy_set_header子模块会覆盖全局的设置; 1.高德广告接口没有x-forwarded-for; 由于业务proxy_set_header 指令错误地设置在了 location配置块中,导致了全局proxy_set_header 指令失效 阅读全文
摘要:
原因:收到舆情,线上某个用户点开收藏夹,渲染卡死; 方案:希望把线上此用户的数据导到测网某个用户下; 处理过程: 1.创建export_fac.js文件: var c = db.getCollection("sync_item_value_core").find({"item.uid":{$in:[ 阅读全文
摘要:
1、进入项目地址,通过命令git init将项目初始化成git本地仓库 git init 2、将项目内所有文件都添加到暂存区 git add . 3、该命令会将git add .存入暂存区修改内容提交至本地仓库中,若文件未添加至暂存区,则提交时不会提交任何修改。 git commit -m 'xxx 阅读全文
摘要:
通过切面方式记录请求的req和res日志: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> package 阅读全文