芝麻web文件管理V1.00
编辑当前文件:/www/wwwroot/shphe-en.com/wp-content/plugins/blog2social/includes/B2S/Network/Save.php
'saveUserMandant', 'mandant' => $mandantName, 'token' => B2S_PLUGIN_TOKEN); $result = json_decode(B2S_Api_Post::post(B2S_PLUGIN_API_ENDPOINT, $postData)); $newMandant = array('result' => false, 'mandantId' => "", 'mandantName' => "", 'content' => ""); if (isset($result->result) && $result->result == true && (int) $result->data > 0) { $newMandant['result'] = true; $newMandant['mandantId'] = $result->data; $newMandant['mandantName'] = $mandantName; $networkItem = new B2S_Network_Item(); $networkData = $networkItem->getData(); $newMandant['content'] = $networkItem->getItemHtml($result->data, array(), array(),$networkData['portale'],$networkData['auth_count']); } return $newMandant; } }