????? ???? ?? Hyperf ?????? ???? ??
Oct 25, 2023 am 08:27 AM????? ???? ?? Hyperf ?????? ???? ??
???? ??? ??? ?? ????? ?? ???? ????? ???? ?? ? ????? ????. ???? ???? ???? ?? PHP ?????? Hyperf? ??? ????? ??? ??? ?????. ? ????? ????? ???? ?? Hyperf ?????? ???? ??? ?? ?? ??? ???? ??? ??? ?????.
1. Hyperf ????? ??
?? ???? ?? Composer? PHP ?? ??? ???? ??? ???? ???.
- ?? ??? ???? ? ????? ??? Hyperf ?????? ?????.
composer require hyperf/hyperf
- ???? ?????? ??? ? ???? ????? ???? Hyperf ?? ??? ?????.
php bin/hyperf.php start
2. ????? ??? ??? ??
???? ????? ???? ?? Hyperf ?????? ???? ??? ???? ?? ??? ????? ??? ???? ???????.
- ?? Hyperf ??? ?? ?? ???
TestCase
?? ???? ??? ?? ???? ????.TestCase
。
use HyperfTestingTestCase; class ExampleTest extends TestCase { // ... }
- 在測試用例類中,我們需要定義一個
createApplication
protected function createApplication() { return require BASE_PATH . '/config/application.php'; }
- ??? ??? ????? Hyperf ?????? ????? ?????
createApplication
???? ???? ???. public function testExample() { $response = $this->get('/api/example'); // 發(fā)起GET請求 $data = json_decode($response->getBody()->getContents(), true); // 獲取響應內(nèi)容 $this->assertSame(200, $response->getStatusCode()); // 斷言響應狀態(tài)碼為200 $this->assertArrayHasKey('message', $data); // 斷言返回的數(shù)據(jù)中包含'message'字段 }
- ???? ??? ??? ???? ?? ????? ??? ???? ??? ? ????.
phpunit tests/
????? ????? ?? ??? ???? ??? ??? ?????.
rrreee
?? ??? ????? ???? ?? Hyperf ?????? ????? ??????. ????? ???? Hyperf ?????? ???? ??? ??? ??? ??? ?? ??? ???? ????? ??? ??? ?? ???? ??? ? ??? ??? ????. ??????? ????? ????? ???? ?? Hyperf ?????? ???? ??? ???? ?? ?? ??? ?????. ????? ???? ?? Hyperf ?????? ?????? ??? ?????? ???? ??? ???? ??? ? ??? ?? ????? ?? ??? ?? ??? ??? ?????. ? ?? ??? ???? ?????. ????? ?????! ??? ??? ????? ???? ?? Hyperf ?????? ???? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

DirectX ?? ??? ?? ???? DirectX ??? ???? ?? ??? ???, ??? ???? ?? ??? ? ????. DirectX ?? ??? ???? ??? ??? ???? ?? ? ????. ??? ??? ????? ???????. 1. ?? ?? ?????? ???? ?? ??? ?????. 2. ??? ??? ? C++ ?? ??? ????? ??? ??? ???? ???? ?? ??? ??? ? ?? ?? ???? ?????. 3. ?? ??? ???? ??? ??? ? ?? ?? ??? ?????. 4. ??? ??? ? ?? ???? ?????. 5. ?? ?? ??? ??? ??? ??? ??? ???? ??? ??? ??? ????? ???? ?? ??? ? ? ????.

HTTP 525 ?? ?? ??: ?? ? ??? ?? HTTP(HypertextTransferProtocol) 525 ?? ??? SSL ????? ???? ?? ??? ??? ???? ?? ??? ??? ? ??? ?????. TLS(?? ?? ??) ????? ?? ??? ???? ??? ? ?? ??? ?????. ? ?? ??? ?? ?? ??? ??? ????? ?? ?? ?? ?? ??? ?????. ?????? HTTPS? ?? ??? ??? ???? ???? ?? ?? ????.

?????? ?? ??? ??? ???????, ??? ?? ???? ????? ???? ??? ????. ??? ?? ??? ??? ???? ?? ???? ????? ???? ??? ???????. 1. PotPlayer ??? PotPlayer ????? ?? ?? ???? ??? ????. (1) ??/?? ??: ???? (2) ??: ??? ?, ?? ??? ? (3) ???/??: ?? ? ??? ??? ? (4) ???: P-??? ??, H-View ??? (5) ????/??: Enter (6) ??: C-??, 7) ??/?? ???: D/

Java? ?? ??? ????? ? ?? ???? ?? ??: ?????? ?? ??? ???? ????. ????? ???? ???? ?? ???? ????. Mockito ?????? ???? ????? ???? ???? ??? ???? ??????. ?? ???? ??? ???? ?????. ?? ???? ?? ???? ????. ?? ???? ???? ????? ??? ???? ?????.

??? Baidu Netdisk ???? ??? ???? ???? ???? ???? Baidu Netdisk ???? ??? ??????. ???? ??? ???? ????? ??? ? ????. 1??: Baidu Netdisk? ??? ? ?? ??????(?? ??). 2??: ?? ?? ??? ????? ?? "? ??" ? "?? ??"? ?????(?? ??). ?? ??"? ???? ??? ??? ???? ?? ??? ? ????(?? ??). 4??: ?? ?? "??"? ??? ?? ??? ???? ???? ??? ??? ?????(?? ??). ?? ?? 1??: ?? ?? ??? ?? ? ????(?? ??). 6??: "?? ?? ??"(?? ??)?? ??? ??? ?? ?? ????. ? ??? ???? ?????.

KMS ?? ?? ??? Microsoft Windows ? Office ??? ?? ???? ? ???? ????? ?????. KMS? KeyManagementService? ??? ? ?? ??????. KMS ?? ?? ??? ???? ?? KMS ??? ???? Windows ? Office ??? ?? ??? ? ??? KMS ??? ??? ????????. KMS ??? ??? ??? ?? ??? ?????. ? ?? ???? ????? ???? ? ???, ???? ???? ??? ?? ??? Windows ???? Office ?????? ???? ? ????. ??? ?? ?????? Windows ?? ?? ??? ???????. KMS ?? ?? ??? ???????.

?? ????? Xiaoma win7 ??? ??? ???? ??? ?????. ??? Xiaoma win7 ??? ??? ???? ??? ?? ????? ????, ?? ??? ?? ??? ?? ???? Xiaoma win7 ??? ?? ?? ??? ???? ????. ?? ??? ?? ???. ? ?? ??? ???? ???? ? "? ???"? ???? ?? ??? "??? ??"? ???? Windows ?? ?? ??? ???? ????. ? ?? ????? ???? ????? win7 ??? ??? ?????? ???? ???(???? ?? ???? ??? ? ??). ? ?? ??? Xiaoma ??? ??? ?? "Windows ?? ???"? ???? ????. ? ?? ??? ??? ????? ???? ??? ??? ???? ????. 5??: Windows ?? ?? ??? ?? ???? ???? ?? ?????? ?????.

???? ?? ????? ??? ? ??? ?????. ?? ???? ??? ??? ???? ???? ???. ??? ?? ?? ??? ?????? ??? ?? ????? ???? ???? ??? ?? ????? ???????. win10 ?? ?? ?? ????? ???? ??: 1. "Win+R"? ??? cmd? ???? "?? ????"? ???. 2. chkdsk? ???? ?? ??? ???. 3. ?? ??? ??? ??? ?? ????. "d"? ?? ?? ??? 4. ?? ?? chkdskd:/F? ?????. 5. ?? ???? ?? ??? Y? ???? ??? ? ????.
