Sfoglia il codice sorgente

api图片报错修改

中职版本
liangkun 4 anni fa
parent
commit
c09de3b1f6
4 ha cambiato i file con 1056 aggiunte e 1175 eliminazioni
  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 Vedi 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 Vedi File

Prima Dopo
Larghezza: 1024  |  Altezza: 1024  |  Dimensione: 281 KiB

+ 490
- 542
Learun.Framework.Ultimate V7/招生平台App2.0/太钢技校/学生端2.0/manifest.json
File diff soppresso perché troppo grande
Vedi File


+ 561
- 631
Learun.Framework.Ultimate V7/招生平台App2.0/太钢技校/教师端2.0/manifest.json
File diff soppresso perché troppo grande
Vedi File


Caricamento…
Annulla
Salva