$back, 'order_sync_status' => 'syncable', ]); $url = BackUrl::withBack($path, $back); $this->assertSame($path, $url); // 防止重复 back= 出现两次 $this->assertSame(1, substr_count($url, 'back=')); } }