Skip to content

Instantly share code, notes, and snippets.

@mimosz
Created October 31, 2012 13:15
Show Gist options
  • Save mimosz/3986967 to your computer and use it in GitHub Desktop.
Save mimosz/3986967 to your computer and use it in GitHub Desktop.
淘宝,批量发优惠券
<!DOCTYPE>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<form action="https://login.taobao.com/member/login.jhtml" method="post" accept-charset="GBK" target="_blank">
<input type="text" name="TPL_username">
<input type="password" name="TPL_password" >
<input type="hidden" name="action" value="Authenticator">
<input type="hidden" name="event_submit_do_login" value="anything">
<button type="submit">登陆</button>
</form>
<form action="http://ecrm.taobao.com/membermarketing/promotion_home.htm" method="post" target="_blank">
<input type="hidden" name="action" value="membermarketing/member_promotion_action">
<input type="hidden" name="event_submit_do_send_from_member_list" value="anything">
<input type="hidden" name="members" value="106341693">
<input type="hidden" name="filterParam" value="sendShopBonus=1&amp;shopBonusDiscount=20&amp;shopBonusEndtime=2012-09-01">
<input type="hidden" name="parambin" value="currentPage=1">
<button type="submit">发送店铺优惠券</button>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment