Exemplo n.º 1
0
 public PlatformBusiness(SqlSugarClient dbContext, IMapper mapper, RedisClient redisClient, IJsonHelper jsonHelper, IConfigCenter configCenter)
 {
     _dbContext    = dbContext;
     _mapper       = mapper;
     _redisClient  = redisClient;
     _jsonHelper   = jsonHelper;
     _configCenter = configCenter;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 构造
 /// </summary>
 /// <param name="authBusiness"></param>
 public AuthController(IAuthBusiness authBusiness, IErrorCodeStore errorCodeStore, IConfigCenter configCenter)
 {
     _authBusiness   = authBusiness;
     _errorCodeStore = errorCodeStore;
     _configCenter   = configCenter;
 }
Exemplo n.º 3
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="apiBusiness"></param>
 /// <param name="configCenter"></param>
 public ApiController(IApiBusiness apiBusiness, IConfigCenter configCenter)
 {
     _apiBusiness  = apiBusiness;
     _configCenter = configCenter;
 }