You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
609 B
23 lines
609 B
<?php
|
|
require_once './wf_common.php';
|
|
|
|
$request = $_SERVER['REQUEST_METHOD'] == "GET" ? $_GET : $_POST;
|
|
//echo json_encode($request);
|
|
$func = $request['method'];
|
|
if (function_exists($func)) {
|
|
call_user_func($func, $request);
|
|
}
|
|
|
|
function rm_hpes($req)
|
|
{
|
|
$vol_no = $req['vol_no'];
|
|
$seq = $req['seq'];
|
|
DB::query("delete from hope_project_elevator_spec where vol_no='$vol_no' and seq='$seq'");
|
|
}
|
|
|
|
function rm_option($req)
|
|
{
|
|
$vol_no = $req['vol_no'];
|
|
$model_no = $req['model_no'];
|
|
DB::query("delete from hope_elevator_option_price where vol_no='$vol_no' and model_no='$model_no'");
|
|
}
|
|
|