秒杀的话要用memc的自减方法
开始之前
$mem=new Memcache;
$num
= 100;
$goods
_id
= $_GET['goods_id']
;
$mem
->set(
$goods_id
,
$num
);
秒杀进行中