后端返回D:\\code\\ai-backend\\facedata\\5.png
时间: 2023-08-14 20:05:56 浏览: 86
您可以将路径字符串转换为后端能够识别的格式。在大多数编程语言中,您可以使用反斜杠(\)来表示路径中的目录分隔符。因此,将路径字符串修改为以下格式可能更适合后端:
"D:\\\\code\\\\ai-backend\\\\facedata\\\\5.png"
请注意,由于反斜杠在字符串中具有特殊含义,因此需要使用两个反斜杠来表示一个反斜杠字符。这样,后端就可以正确识别路径并返回相应的文件。
阅读全文
相关推荐
















