秒杀模块解决方案
2016-01-04 23:17:54   0  举报             
     
         
 秒杀模型
    作者其他创作
 大纲/内容
 站点库存表主键ID;商品ID;站点ID;....
  station_stock
  批次库存表主键ID;商品ID;站点ID;批次号;....
  stock
  #查询站点库存表主键select id from station_stock where station_id = 46 and goods_code = 'MX';#行锁&数据操作select id from station_stock where id = 100089 for update;#查询站点库存redisif ($redis - get()) {}
   
 
 
 
 
  0 条评论
 下一页
  
   
   
   
   
  
  
  
  
  
  
  
  
 