Ver código fonte

接口输出imgurl返回到data内,content qrcode的config路径配置修改

西昌缴费二期
liangkun 2 anos atrás
pai
commit
7578f03317
3 arquivos alterados com 7 adições e 5 exclusões
  1. +3
    -2
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuFreshPayFeeApi.cs
  2. +3
    -2
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuPayFeeApi.cs
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/XmlConfig/system.config

+ 3
- 2
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuFreshPayFeeApi.cs Ver arquivo

@@ -162,7 +162,8 @@ namespace Learun.Application.WebApi.Modules
stuInfoFreshIBLL.SaveFeeData(keyValue, model, list);
}

return Success(imgUrl);
var backimgUrl = new { imgUrl };
return Success(backimgUrl);
}

public class JsonBean
@@ -213,7 +214,7 @@ namespace Learun.Application.WebApi.Modules
}

//图片控件要显示的二维码图片路径
return QRCodeFile + "/Content/images/QRCode/" + filename + ".jpg";
return "/Content/images/QRCode/" + filename + ".jpg";
}
}
}

+ 3
- 2
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuPayFeeApi.cs Ver arquivo

@@ -158,7 +158,8 @@ namespace Learun.Application.WebApi.Modules
stuInfoFreshIBLL.SaveFeeData(keyValue, model, list);
}

return Success(imgUrl);
var backimgUrl = new{ imgUrl };
return Success(backimgUrl);
}

public class JsonBean
@@ -209,7 +210,7 @@ namespace Learun.Application.WebApi.Modules
}

//图片控件要显示的二维码图片路径
return QRCodeFile + "/Content/images/QRCode/" + filename + ".jpg";
return "/Content/images/QRCode/" + filename + ".jpg";
}
}
}

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.WebApi/XmlConfig/system.config Ver arquivo

@@ -66,7 +66,7 @@
<add key="userKey" value="14B417B0-463D-4F2B-8075-0A20EEDB773A" />
<!-- ==================注意附件上传地址 修改到主网站部署目录下的Resource要不然飞星会报错================== -->
<add key="AnnexesFile" value="D:\leiprojects\西昌单校区\Learun.Application.Web\Resource" />
<add key="QRCodeFile" value="D:\leiprojects\西昌单校区\Learun.Application.Web\Content" />
<add key="QRCodeFile" value="D:\leiprojects\西昌单校区\Learun.Application.Web\" />
<add key="ReportFile" value="~/Reports" />
<!-- ================== 工作流服务地址 ================== -->
<add key="workflowapi" value="http://localhost:8013" />


Carregando…
Cancelar
Salvar