This commit is contained in:
hufangzhou
2022-04-18 14:58:06 +08:00
parent 9d8e96b829
commit 281fa51fc1
+3
View File
@@ -25,6 +25,9 @@ class branch extends control
*/
public function manage($productID, $browseType = 'active', $orderBy = 'order', $recTotal = 0, $recPerPage = 20, $pageID = 1)
{
$product = $this->loadModel('product')->getById($productID);
if($product->type == 'normal') $this->locate($this->createLink('product', 'view', "productID=$productID"));
$this->loadModel('product')->setMenu($productID);
$this->session->set('branchManage', $this->app->getURI(true), 'product');
$this->branch->changeBranchLanguage($productID);