18 lines
771 B
C#
18 lines
771 B
C#
using Furion;
|
|
using Nirvana.Common;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace YBDevice.NApi.Application.BusinessClient
|
|
{
|
|
public class BaseApiInfoService
|
|
{
|
|
public static string CDNURL = App.Configuration["CDNURL"];
|
|
public int CurrentUserId = App.User != null ? (App.User.FindFirst("UserId") != null ? (App.User.FindFirst("UserId").Value.ToInt()) : 0) : 0;
|
|
public int CurrentBusinessId = App.User != null ? (App.User.FindFirst("BusinessId") != null ? (App.User.FindFirst("BusinessId").Value.ToInt()) : 0) : 0;
|
|
public string Currentfansid = App.User != null ? (App.User.FindFirst("fansid") != null ? (App.User.FindFirst("fansid").Value.ToStr()) : "") : "";
|
|
}
|
|
}
|