public ResultModel upLoad([FromBody] Base64Str base64) { ResultModel res = new ResultModel(); string name = FileTools.Base64StrToImage(base64.base64); if (name != null) { res.status = "200"; res.insert("fileName", name); } else { res.status = "500"; } return(res); }