no message
This commit is contained in:
parent
f417cc6376
commit
472558ac5e
@ -36,8 +36,10 @@ class Node extends Base {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function fly()
|
public function fly($aParam)
|
||||||
{
|
{
|
||||||
|
// $sCmd = $aParam["cmd"] ?? "";
|
||||||
|
|
||||||
$oServers = ModelNode::where("type", 2)->orderBy("order_group")->get();
|
$oServers = ModelNode::where("type", 2)->orderBy("order_group")->get();
|
||||||
|
|
||||||
//// 取出pwd
|
//// 取出pwd
|
||||||
@ -86,7 +88,7 @@ class Node extends Base {
|
|||||||
$oNode->node_bandwidth = 0;
|
$oNode->node_bandwidth = 0;
|
||||||
$oNode->node_bandwidth_limit = 0;
|
$oNode->node_bandwidth_limit = 0;
|
||||||
$oNode->bandwidthlimit_resetday = 0;
|
$oNode->bandwidthlimit_resetday = 0;
|
||||||
$oNode->is_shadow = 0;
|
$oNode->is_shadow = 1;
|
||||||
$oNode->password = array_pop($aPwds[$oNode->pid]) ?? Tools::genRandomChar(32);
|
$oNode->password = array_pop($aPwds[$oNode->pid]) ?? Tools::genRandomChar(32);
|
||||||
$iDone += $oNode->save();
|
$iDone += $oNode->save();
|
||||||
$iNodeId++;
|
$iNodeId++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user