yuansen.wang

Results 3 issues of yuansen.wang

node节点启动的时候,会报console 7005端口不能分配的问题 这个确认过是在同一个子网内,直接启动失败 `listen tcp 172.19.12.2:7005: bind: cannot assign requested address`

`public interface DocumentMapper extends BaseMapper { default Long selectRegisterCountByBotId(String botId) { List status = Arrays.asList(CommonStringConstant.Login.NormalStatus, CommonStringConstant.Login.ApplyStatus, CommonStringConstant.Login.SuccessStatus, CommonStringConstant.Login.FailedStatus); return selectCount(new LambdaEsQueryWrapper() .in(User::getStatus, status) .eq(User::getBotId, botId)); } }` 如上,能否支持这种编码方式。

代码中对文件名称进行编码后结果为:doc%EF%BC%88%E5%95%8A%E6%92%92%E5%A4%A7%E5%A3%B0%E5%9C%B0%20%EF%BC%89.doc 在进行上传后地址为: https://127.0.0.1:8000/group1、20240605/11/24/5/docEFBC88E5958AE69292E5A4A7E5A3B0E59CB020EFBC89.doc 文件服务器中实际存储结果: ![image](https://github.com/sjqzhang/go-fastdfs/assets/38154512/1c4bd722-e105-4c42-bc03-727941f25cb5)