add sync function

add sync function
fix radius time monthly validity
fix sync button for hotspot with uptime limit and data limit
This commit is contained in:
gerandonk
2024-12-03 11:15:15 +07:00
parent b2ac84900e
commit d6144537c4
8 changed files with 86 additions and 14 deletions

View File

@ -21,6 +21,11 @@ class RadiusRest {
function add_customer($customer, $plan)
{
}
function sync_customer($customer, $plan)
{
$this->add_customer($customer, $plan);
}
// Remove Customer to Mikrotik/Device
function remove_customer($customer, $plan)