更新时间:2023-02-25 14:51:57
您可以使用 uri
以下是一个示例
public function getproduct()
{
$productID = $this->uri->segment(3);
$factoryID = $this->uri->segment(4);
// ProductID will be 25
// Factory ID will be 45
}
那么你只需要使用这些值
Then you can just use the values as you please