* [refac,0.1h] add var type.

This commit is contained in:
tianshujie
2024-08-28 09:51:10 +08:00
committed by 曹延义
parent 83c9a4f92b
commit c18090a13d
+1 -1
View File
@@ -41,7 +41,7 @@ class design extends control
* @access public
* @return void
*/
public function commonAction(int $projectID = 0, int $productID = 0, int $designID = 0, $type = 'all')
public function commonAction(int $projectID = 0, int $productID = 0, int $designID = 0, string $type = 'all')
{
$products = $this->product->getProductPairsByProject($projectID);
$products[0] = $this->lang->product->all;