Skip to content

Commit

Permalink
feat: Support PHP 8.x, add domain name switching in different regions
Browse files Browse the repository at this point in the history
  • Loading branch information
hedeqiang committed Jul 5, 2023
1 parent 3d42dbf commit d80adcd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ $config = [
'sdk_app_id' => '',
'identifier' => '',
'secret_key' => '',
'region' => 'zh' // zh、sgp、kr、ger、ind、usa
];

$im = new IM($config);
$params = [
'Identifier' => "hedeqiang",
Expand Down Expand Up @@ -159,6 +161,7 @@ php bin/hyperf.php vendor:publish hedeqiang/ten-im
SDK_APP_ID=
IDENTIFIER=
SECRET_KEY=
REGION= // zh、sgp、kr、ger、ind、usa
```

##### 使用
Expand All @@ -184,6 +187,7 @@ php artisan vendor:publish --provider="Hedeqiang\TenIM\ServiceProvider"
SDK_APP_ID=
IDENTIFIER=
SECRET_KEY=
REGION= // zh、sgp、kr、ger、ind、usa
```

### 方法参数注入
Expand Down

0 comments on commit d80adcd

Please sign in to comment.