Browse Source

修正目标filepath参数

master
xyiege 5 months ago
parent
commit
ab232a3988
  1. 2
      scalib/main.go

2
scalib/main.go

@ -134,7 +134,7 @@ func transferFile(c *UpFileClient, curPath string, uploadPath string) error {
// 发送文件块 // 发送文件块
err = c.rpcClient.Call("UpFileService.SendFileChunk", FileChunk{ err = c.rpcClient.Call("UpFileService.SendFileChunk", FileChunk{
Data: buffer[:n], Data: buffer[:n],
FileName: fileName, FileName: uploadPath,
Offset: offset, Offset: offset,
IsLast: isLast, IsLast: isLast,
}, &reply) }, &reply)

Loading…
Cancel
Save