feat: 前台 .shtml 后缀 canonical + strict_types 全量启用 + 对外 API(Sanctum+Scramble 文档)+ pm2 ecosystem + GitHub Actions CI + 插件/主题/架构/API 文档 + REDIS_PREFIX 说明

This commit is contained in:
ak
2026-08-11 19:37:33 +08:00
parent 1c8a801238
commit fc6624cf84
244 changed files with 1902 additions and 97 deletions
+2 -2
View File
@@ -87,7 +87,7 @@ class MembershipFlowTest extends TestCase
]);
// 游客:付费部分被替换
$this->get('/posts/paid-post')
$this->get('/posts/paid-post.shtml')
->assertOk()
->assertDontSee('付费隐藏内容')
->assertSee('付费内容已隐藏');
@@ -97,7 +97,7 @@ class MembershipFlowTest extends TestCase
$payment = Payment::query()->where('user_id', $this->user->id)->first();
$this->actingAs($this->user)->post('/pay/sandbox/'.$payment->order_no.'/confirm');
$this->actingAs($this->user)->get('/posts/paid-post')
$this->actingAs($this->user)->get('/posts/paid-post.shtml')
->assertOk()
->assertSee('付费隐藏内容');
}