check bug

This commit is contained in:
yubaolee
2017-03-07 09:11:57 +08:00
parent 3f5eece334
commit ed37dae1a0
3 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ namespace OpenAuth.Mvc.Areas.FlowManage.Controllers
{
[HttpPost]
public string Upload(HttpPostedFileBase Filedata)
public string Add(HttpPostedFileBase Filedata)
{
if (Filedata != null && Filedata.ContentLength > 0 && Filedata.ContentLength < 10485760)
{
@@ -34,7 +34,7 @@ namespace OpenAuth.Mvc.Areas.FlowManage.Controllers
}
public string UploadFile(string fileName, byte[] fileBuffers, string folder)
private string UploadFile(string fileName, byte[] fileBuffers, string folder)
{
if (string.IsNullOrEmpty(folder))
{