修改传输接口中文件的文件名
This commit is contained in:
@@ -71,7 +71,7 @@ namespace Getf_Service_Transfer_Client_Service_HttpHandler
|
|||||||
httpRequst.SetContentType("multipart/form-data");
|
httpRequst.SetContentType("multipart/form-data");
|
||||||
if (bodyData != null)
|
if (bodyData != null)
|
||||||
{
|
{
|
||||||
httpRequst.SetFiles(HttpFile.Create("file", data, "image.png"));
|
httpRequst.SetFiles(HttpFile.Create("file", data, bodyData["fileName"].ToString()));
|
||||||
if (bodyData["commond"] != null)
|
if (bodyData["commond"] != null)
|
||||||
{
|
{
|
||||||
var dic = new Dictionary<string, object>();
|
var dic = new Dictionary<string, object>();
|
||||||
|
|||||||
Reference in New Issue
Block a user