parameters: (self,get)
return_statement: return public.return_data(True,'Disabled successfully')
docstring: @name 解绑外网
              @author hwliang<2021-08-09>
              @param get<dict_obj>{
                  project_name: string<项目名称>
              }
              @return dict
function: def unbind_extranet(self,get):
          '''
              @name 解绑外网
              @author hwliang<2021-08-09>
              @param get<dict_obj>{
                  project_name: string<项目名称>
              }
              @return dict
          '''
          project_name = get.project_name.strip()
          self.clear_config(project_name)
          public.serviceReload()
          project_find = self.get_project_find(project_name)
          project_find['project_config']['bind_extranet'] = 0
          public.M('sites').where("id=?",(project_find['id'],)).setField('project_config',json.dumps(project_find['project_config']))
          public.WriteLog(self._log_name,'Node project {}, disable the mapping'.format(project_name))
          return public.return_data(True,'Disabled successfully')
function_tokens: def unbind_extranet ( self , get ) : project_name = get . project_name . strip ( ) self . clear_config ( project_name ) public . serviceReload ( ) project_find = self . get_project_find ( project_name ) project_find [ 'project_config' ] [ 'bind_extranet' ] = 0 public . M ( 'sites' ) . where ( "id=?" , ( project_find [ 'id' ] , ) ) . setField ( 'project_config' , json . dumps ( project_find [ 'project_config' ] ) ) public . WriteLog ( self . _log_name , 'Node project {}, disable the mapping' . format ( project_name ) ) return public . return_data ( True , 'Disabled successfully' )