def disable_share(cookie, tokens, shareid_list):
url = '<STR_LIT>'.join([<EOL>const.PAN_URL,<EOL>'<STR_LIT>',<EOL>'<STR_LIT>', tokens['<STR_LIT>'],<EOL>])<EOL>data = '<STR_LIT>' + encoder.encode_uri(json.dumps(shareid_list))<EOL>req = net.urlopen(url, headers={<EOL>'<STR_LIT>': cookie.header_output(),<EOL>'<STR_LIT>': const.CONTENT_FORM_UTF8,<EOL>}, data=data.encode())<EOL>if req:<EOL><INDENT>content = req.data<EOL>return json.loads(content.decode())<EOL><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT>
取消分享.

    shareid_list 是一个list, 每一项都是一个shareid