java-mall/README.MD
2025-04-08 09:08:08 +08:00

1.1 KiB

项目启动顺序: mall-gateway mall-auth mall-account mall-admin mall-shop mall-sns mall-pay mall-cms mall-search mall-im

微信支付配置 { "mchid": 商户ID, "key": "商户API秘钥", "wechat_app_id": "公众号开发者ID", "wechat_app_secret": "公众号开发者密码", "wechat_xcx_app_id": "小程序开发者ID", "wechat_xcx_app_secret": "小程序开发者秘钥", "weixin_app_id": "开放平台移动应用开发者ID", "weixin_app_key": "开放平台移动应用开发者密钥", "weixin_mchid": 商户ID, "weixin_key": "商户API秘钥", "apiclient_cert": "apiclient_cert.pem", "sslkey_name": "apiclient_key.pem" }

清除 docker 日志 docker ps -aq | xargs docker inspect --format='{{.LogPath}}' | xargs truncate -s 0

查看哪个文件夹占空间 du -sh * | sort -h

cd /data/docker/overlay2 查看哪个文件夹占空间 du -sh * | sort -h

进入到 大文件的目录下,执行以下脚本 for file in log; do cat /dev/null > "$file" done

或者递归删除log 文件 find overlay2 -type f -name ".log." -print0 | xargs -0 -I {} cat /dev/null > {}