CalParcess.php.

时间:2021-09-04 04:23:07
<?php
require_once "OperSerVice.class.php";
//接受三个数
//isset
if(!isset($_REQUEST['NUM1'])){
$num1=$_REQUEST['NUM1'];}
if(!isset($_REQUEST['NUM2'])){
$num2=$_REQUEST['NUM2'];}
if(!isset($_REQUEST['oper'])){
$oper=$_REQUEST[;OPER'];}
//创建对象 $OperSerVice=new OperSerVice();
echo $OperSerVice->getResult($num1,$num2,$oper);
?>

相关文章