pwstrick

Results issues of pwstrick

遇到了一个比较奇怪的问题,无法在阿里云服务器中打印查询语句,但在本地是可以打印下面的日志。 ``` 2021-06-01 15:14:00,495 INFO 89719 [egg-mongoose-logger] db.getCollection('user_account').find({"realName":"test"}, {}) ``` config中的debug参数使用了默认的true,format函数用的也是默认的。 ```javascript const assert = require('assert'); const mongoose = require('mongoose'); module.exports = app => { app.coreLogger.info('[egg-mongoose-logger] init'); const config =...

Inactive

线上有个网站出了点问题,我现在想用 Charles 将的 umi.js 和 umi.css 映射到本地的文件。 在本地使用 umi dev 命令调试,那么我如何操作才能成功映射到生成的 umi.js 和 umi.css。 在本地调试时,我发现有下面两个文件,但是目录里是找不到的,是不是在内存中的,我映射到其中的某一个,发现就会报错,是不是 build 的文件并不是下面的这两个文件。 http://localhost:8000/umi.js http://localhost:8000/umi.dll.js - **Umi 版本**:1.X

type(bug)