Browse Source

api图片报错修改

中职版本
liangkun 4 years ago
parent
commit
c09de3b1f6
4 changed files with 1056 additions and 1175 deletions
  1. +5
    -2
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/TaiGang/TUserApi.cs
  2. BIN
      Learun.Framework.Ultimate V7/招生平台App2.0/太钢技校/学生端2.0/images/QQ图片20170505140705.png
  3. +490
    -542
      Learun.Framework.Ultimate V7/招生平台App2.0/太钢技校/学生端2.0/manifest.json
  4. +561
    -631
      Learun.Framework.Ultimate V7/招生平台App2.0/太钢技校/教师端2.0/manifest.json

+ 5
- 2
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/TaiGang/TUserApi.cs View File

@@ -283,8 +283,11 @@ namespace Learun.Application.WebApi
var photo = "";
if (company.F_Photo != null)
{
photo = annexesFileIBLL.GetEntityByFolderId(company.F_Photo).F_FilePath;
photo = "/" + photo.Substring(photo.IndexOf("Resource"));
photo = annexesFileIBLL.GetEntityByFolderId(company.F_Photo)?.F_FilePath;
if (!string.IsNullOrEmpty(photo))
{
photo = "/" + photo.Substring(photo.IndexOf("Resource"));
}
}
result.Add(new
{


BIN
Learun.Framework.Ultimate V7/招生平台App2.0/太钢技校/学生端2.0/images/QQ图片20170505140705.png View File

Before After
Width: 1024  |  Height: 1024  |  Size: 281 KiB

+ 490
- 542
Learun.Framework.Ultimate V7/招生平台App2.0/太钢技校/学生端2.0/manifest.json
File diff suppressed because it is too large
View File


+ 561
- 631
Learun.Framework.Ultimate V7/招生平台App2.0/太钢技校/教师端2.0/manifest.json
File diff suppressed because it is too large
View File


Loading…
Cancel
Save