xinwe
This commit is contained in:
parent
a1173508af
commit
782af8743b
@ -14,7 +14,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Commons")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+32db9af2bbc4c31c298fce80234adce84e90d69b")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a1173508afe9193b840696102a5b4f261f20a55a")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Commons")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Commons")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
@ -1 +1 @@
|
||||
d2ebd8052a01898daa46a0b94d0558c3077628c504c64dec23233773082e56d3
|
||||
20b8b26495fdcda45bea4597d4544bd154fa2c1a4e9944d41cec5df9feccc6a4
|
||||
|
||||
@ -234,10 +234,10 @@ namespace YD_XinWei.Api.Controllers
|
||||
/// <returns></returns>
|
||||
[HttpPut]
|
||||
[Route("/basic/{apiVersion}/open/addWeBankUserFace")]
|
||||
public async Task<bool> AddWeBankUserFace(IFormFile picUrlA, [FromForm] int userId)
|
||||
public async Task<bool> AddWeBankUserFace([FromForm] IFormFile picUrlA, [FromForm] int userId)
|
||||
{
|
||||
var res = await _xinWeiService.AddWeBankUserFace(new AddWeBankUserFaceDto() { PicUrlA = picUrlA, UserId = userId }
|
||||
);
|
||||
Console.WriteLine($"picUrlA == null? {picUrlA == null}, userId={userId}");
|
||||
var res = await _xinWeiService.AddWeBankUserFace(new AddWeBankUserFaceDto() { PicUrlA = picUrlA, UserId = userId });
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
@ -19,7 +19,7 @@ namespace YD_XinWei.Api
|
||||
{
|
||||
serverOptions.Limits.MaxRequestBodySize = 10485760;
|
||||
});
|
||||
webBuilder.UseKestrel().UseUrls("http://*:9994");
|
||||
webBuilder.UseKestrel().UseUrls("http://*:9995");
|
||||
webBuilder.UseIIS();
|
||||
webBuilder.UseStartup<Startup>();
|
||||
}).UseServiceProviderFactory(new AutofacServiceProviderFactory());
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -39,8 +39,33 @@
|
||||
"Order": 0,
|
||||
"Parameters": [
|
||||
{
|
||||
"Name": "picUrlA",
|
||||
"Type": "Microsoft.AspNetCore.Http.IFormFile",
|
||||
"Name": "ContentType",
|
||||
"Type": "System.String",
|
||||
"IsRequired": false
|
||||
},
|
||||
{
|
||||
"Name": "ContentDisposition",
|
||||
"Type": "System.String",
|
||||
"IsRequired": false
|
||||
},
|
||||
{
|
||||
"Name": "Headers",
|
||||
"Type": "Microsoft.AspNetCore.Http.IHeaderDictionary",
|
||||
"IsRequired": false
|
||||
},
|
||||
{
|
||||
"Name": "Length",
|
||||
"Type": "System.Int64",
|
||||
"IsRequired": false
|
||||
},
|
||||
{
|
||||
"Name": "Name",
|
||||
"Type": "System.String",
|
||||
"IsRequired": false
|
||||
},
|
||||
{
|
||||
"Name": "FileName",
|
||||
"Type": "System.String",
|
||||
"IsRequired": false
|
||||
},
|
||||
{
|
||||
|
||||
@ -1239,9 +1239,30 @@
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"picUrlA": {
|
||||
"type": "string",
|
||||
"format": "binary"
|
||||
"ContentType": {
|
||||
"type": "string"
|
||||
},
|
||||
"ContentDisposition": {
|
||||
"type": "string"
|
||||
},
|
||||
"Headers": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Length": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"Name": {
|
||||
"type": "string"
|
||||
},
|
||||
"FileName": {
|
||||
"type": "string"
|
||||
},
|
||||
"userId": {
|
||||
"type": "integer",
|
||||
@ -1250,7 +1271,22 @@
|
||||
}
|
||||
},
|
||||
"encoding": {
|
||||
"picUrlA": {
|
||||
"ContentType": {
|
||||
"style": "form"
|
||||
},
|
||||
"ContentDisposition": {
|
||||
"style": "form"
|
||||
},
|
||||
"Headers": {
|
||||
"style": "form"
|
||||
},
|
||||
"Length": {
|
||||
"style": "form"
|
||||
},
|
||||
"Name": {
|
||||
"style": "form"
|
||||
},
|
||||
"FileName": {
|
||||
"style": "form"
|
||||
},
|
||||
"userId": {
|
||||
|
||||
@ -14,7 +14,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Api")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+32db9af2bbc4c31c298fce80234adce84e90d69b")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a1173508afe9193b840696102a5b4f261f20a55a")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Api")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Api")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
@ -1 +1 @@
|
||||
a1387d6e9593da9c880c94c60899afdfde18e5186ba9d1bd76e4171edc5bffae
|
||||
53184c88660f11f158e1cec1c81ab2f75f3195e42c94f3f8406c7473cfe3a229
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -14,7 +14,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Api")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+32db9af2bbc4c31c298fce80234adce84e90d69b")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a1173508afe9193b840696102a5b4f261f20a55a")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Api")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Api")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
@ -1 +1 @@
|
||||
6dcae9ab5be43665e0312861b5fd1719dfad6ffb74b7e779d64e81b4228c17a9
|
||||
a4635297654a4096ef6260683aa2d346cf4522536fdc28e22e0cbed84fe7b68f
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user