public static function modify_fedex_shenzhen($type, $fuel, $country, $weight, $fee) { self::initDB(); $sql = "update trans_freight_fedex_shenzhen set unitprice={$fee},baf={$fuel} where weightinterval ='{$weight}' AND countrylist='{$country}' AND type='{$type}'"; $query = self::$dbConn->query($sql); if ($query) { return true; } else { self::$errCode = "003"; self::$errMsg = "die"; return false; } }