hyperf / hyperf/http-server

如何 同一个url, 根据pc或者h5来使用不同的控制器。 达到显示不同的内容 ?

Open
#12 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
10
Forks
8
PR merge metrics
No merged PRs in 30d

Description

![BX}O140ZQ8Y6FVMV3NTR1GP](https://github.com/user-attachments/assets/28eddde2-73f1-4231-8145-ad9c1e6f22db)

如何能达到上面的效果呢?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. First clarify how the project should identify PC versus H5 and whether this is a routing feature; then locate the relevant HTTP routing or controller entry point. Done should be demonstrated by one URL returning the intended content for both client types.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.