示例#1
0
 public static function updateStatus()
 {
     $status = lC_Products_Admin::updateStatus($_GET['pid'], $_GET['val']);
     if ($status) {
         lC_Cache::clear('category_tree');
         $result['rpcStatus'] = RPC_STATUS_SUCCESS;
     }
     echo json_encode($result);
 }