这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

2.2 KiB

LINGYUN.Abp.Tencent

Tencent Cloud Service Base Module, providing infrastructure support for other Tencent Cloud service modules.

Features

  • Provides Tencent Cloud SDK client factory, supporting dynamic creation of clients for various Tencent Cloud services
  • Multi-tenant configuration support
  • Built-in localization support (Chinese and English)
  • Unified Tencent Cloud service configuration management
  • Feature management support, enabling/disabling functionalities as needed
  • Region localization display support

Configuration

Basic Settings

{
  "Settings": {
    "LINGYUN.Abp.Tencent": {
      "EndPoint": "ap-guangzhou", // Resource region, default is Guangzhou
      "SecretId": "Your Tencent Cloud SecretId", // Get from Tencent Cloud Console
      "SecretKey": "Your Tencent Cloud SecretKey", // Get from Tencent Cloud Console
      "DurationSecond": "600" // Session duration in seconds
    }
  }
}

Connection Settings

{
  "Settings": {
    "LINGYUN.Abp.Tencent.Connection": {
      "HttpMethod": "POST", // Request method, default is POST
      "Timeout": "60", // Connection timeout in seconds
      "WebProxy": "" // Proxy server address, optional
    }
  }
}

Basic Usage

  1. Add module dependency
[DependsOn(typeof(AbpTencentCloudModule))]
public class YourModule : AbpModule
{
    // ...
}
  1. Configure Tencent Cloud service
{
  "Settings": {
    "LINGYUN.Abp.Tencent": {
      "SecretId": "Your Tencent Cloud SecretId",
      "SecretKey": "Your Tencent Cloud SecretKey"
    }
  }
}

Advanced Features

Feature Management

The module provides the following feature switches:

  • TencentSms - Tencent Cloud SMS service
  • TencentBlobStoring - Tencent Cloud Object Storage service
    • MaximumStreamSize - Maximum file stream size limit for single upload (MB)

Multi-tenant Support

All configurations support multi-tenant settings, allowing different Tencent Cloud service parameters for different tenants.

More Documentation

简体中文