/** * 保存 * @param StructureModel $structure * @return StructureModel * @throws \Exception */ public static function saveStructure(StructureModel $structure) { return self::editStructure($structure->toArray()); }