测试:增加设备数限制功能

This commit is contained in:
wyx2685
2023-10-14 18:32:15 +09:00
parent dffe39b6d9
commit ac38036f8e
14 changed files with 113 additions and 4 deletions

View File

@ -45,6 +45,7 @@ class PlanController extends Controller
User::where('plan_id', $plan->id)->update([
'group_id' => $params['group_id'],
'transfer_enable' => $params['transfer_enable'] * 1073741824,
'device_limit' => $params['device_limit'],
'speed_limit' => $params['speed_limit']
]);
}