Exemple #1
0
 public function view_surePass()
 {
     $url = trim($_GET['url']);
     $InventoryAct = new InventoryAct();
     $pass = $InventoryAct->act_surePass();
     if ($pass == 1) {
         header('location:' . $url . '&state=操作成功');
         exit;
     } else {
         header('location:' . $url . '&state=操作失败');
         exit;
     }
 }