为了账号安全,请及时绑定邮箱和手机立即绑定

还有点问题没明白

用redis获取了10条数据后,再存入数据库,如果这时用户没有进行付款,那这个人数是不是就浪费掉了

正在回答

3 回答

你忘记设置行高了。。。

https://www.61bcx.com/scratch3/work/823688https://www.61bcx.com/scratch3/work/819556https://www.61bcx.com/scratch3/work/820983https://www.61bcx.com/scratch3/work/823930https://www.61bcx.com/scratch3/work/815622https://www.61bcx.com/scratch3/work/822597https://www.61bcx.com/scratch3/work/824739https://www.61bcx.com/scratch3/work/817408https://www.61bcx.com/scratch3/work/823765https://www.61bcx.com/scratch3/work/820663https://www.61bcx.com/scratch3/work/819437https://www.61bcx.com/scratch3/work/815770https://www.61bcx.com/scratch3/work/814445https://www.61bcx.com/scratch3/work/821391https://www.61bcx.com/scratch3/work/815077https://www.61bcx.com/scratch3/work/822108https://www.61bcx.com/scratch3/work/815788https://www.61bcx.com/scratch3/work/821647https://www.61bcx.com/scratch3/work/819723https://www.61bcx.com/scratch3/work/824469https://www.61bcx.com/scratch3/work/820140https://www.61bcx.com/scratch3/work/817353https://www.61bcx.com/scratch3/work/814946https://www.61bcx.com/scratch3/work/826950https://www.61bcx.com/scratch3/work/815362https://www.61bcx.com/scratch3/work/818443https://www.61bcx.com/scratch3/work/825733https://www.61bcx.com/scratch3/work/818333https://minecraft.fandom.com/zh/wiki/UserProfile:%E7%BC%85%E7%94%B8%E5%8D%8E%E7%BA%B3%E5%9B%BD%E9%99%85%E7%BD%91%E6%8A%95%E6%8E%A8%E8%8D%90B2024%C2%B7CN%E7%99%BD%E5%B1%B1%E7%94%B5%E5%8F%B0%EF%BC%BB?variant=zh-hk&cb=&mobileaction=toggle_view_mobilehttps://mod.3dmgame.com/mods?mods_title=%E7%BC%85%E7%94%B8%E6%B0%B8%E9%91%AB%E9%9B%86%E5%9B%A2%E3%80%90B2024.CN%E6%AC%A2%E8%BF%8E%E6%82%A8%E3%80%91%E9%98%B3%E6%B3%89%E5%8D%AB%E8%A7%86%EF%BC%A2%EF%BC%81https://www.oschina.net/search?scope=news&q=%E7%BC%85%E7%94%B8%E9%BE%99%E8%85%BE%E5%A8%B1%E4%B9%90%E6%B3%A8%E5%86%8C%E5%AE%98%E7%BD%91TL262%C2%B7%EF%BC%A3%EF%BC%AF%EF%BC%AD%E6%B7%AE%E5%8D%97%E6%AF%95%E4%B8%9A%E7%94%9Fhttp://www.vpansou.com/query?wd=%E6%9E%9C%E6%95%A2%E8%85%BE%E9%BE%99%E5%9B%BD%E9%99%85%E7%94%B5%E8%AF%9D%E5%B9%B3%E5%8F%B0%E4%B8%8B%E8%BD%BD%E7%BD%91%E5%9D%80%E6%98%AF%E5%A4%9A%E5%B0%91%E3%80%90B2024.CN%E6%AC%A2%E8%BF%8E%E6%82%A8%E3%80%91%E6%98%AD%E9%80%9A%E4%BA%BA%E6%89%8D%E7%BD%91https://b2b.baidu.com/s?q=%E6%96%B0%E7%99%BE%E8%83%9C%E6%B8%B8%E6%88%8F%E7%BD%91%E5%9D%80%E5%85%AC%E5%8F%B8%E8%81%94%E7%B3%BB%E7%94%B5%E8%AF%9D%E7%BD%91%E5%9D%80B2024.%EF%BC%A3N%E6%B3%B0%E5%B7%9E%E8%8A%82%E7%9B%AE%E7%BB%84&from=searchhttps://www.oschina.net/search?scope=all&q=%E7%BC%85%E7%94%B8%E6%96%B0%E7%99%BE%E5%88%A9%E6%89%8B%E6%9C%BA%E7%BD%91%E5%9D%80%E5%BC%80%E6%88%B7%E5%AE%98%E7%BD%91B2024%C2%B7CN%E5%B8%B8%E5%BE%B7%E5%AD%A6%E5%BA%9Chttps://www.oschina.net/search?scope=all&q=%E6%96%B0%E7%99%BE%E8%83%9C%E6%80%8E%E4%B9%88%E8%81%94%E7%B3%BB%E6%B8%B8%E6%88%8F%E5%9C%A8%E7%BA%BF%E5%B9%B3%E5%8F%B0%E3%80%90TL262%C2%B7C%EF%BC%AFM%E3%80%91%E5%95%86%E4%B8%98%E7%94%B5%E4%BF%A1https://db.auto.sina.com.cn/search/?search_txt=%E7%BC%85%E7%94%B8%E9%93%B6%E9%92%BB%E5%A8%B1%E4%B9%90%E6%8B%9B%E8%81%98%E3%80%90%E5%AE%98%E7%BD%91%E2%86%92B2024.CN%E3%80%91%E5%A4%A9%E6%B0%B4%E7%83%AD%E6%90%9C%EF%BC%AF%EF%BC%B3https://mod.3dmgame.com/mods?mods_title=%E6%96%B0%E9%94%A6%E6%B1%9F%E5%AE%A2%E6%9C%8D%E7%94%B5%E8%AF%9D%E6%B8%B8%E6%88%8F%E7%BD%91%E5%9D%80B2024%C2%B7CN%E4%B8%B9%E4%B8%9C%E7%A4%BE%E4%BF%9D%EF%BF%A5%EF%BD%83%EF%BC%96https://www.oschina.net/search?scope=all&q=%E6%96%B0%E9%94%A6%E6%B1%9F%E5%85%AC%E5%8F%B8%E7%BB%8F%E7%90%86%E7%94%B5%E8%AF%9D%E5%BE%AE%E4%BF%A1%E7%BD%91%E5%9D%80TL262%C2%B7C%EF%BC%AFM%E6%8F%AD%E9%98%B3%E6%8B%9B%E8%81%98http://biz.finance.sina.com.cn/zjzt/more.php?lytype=ipoly_hyxdly&title=%C0%CF%B0%D9%CA%A4%D3%E9%C0%D6%C1%AA%CF%B5%B5%E7%BB%B0%CD%F8%D6%B7TL262.%A3%C3%A3%CF%A3%CD%B3%D8%D6%DD%C9%E7%B1%A3https://www.oschina.net/search?scope=news&q=%E5%B9%BF%E4%B8%9C%E6%83%A0%E5%B7%9E%E7%9C%9F%E4%BA%BA%E5%B9%B3%E5%8F%B0%E5%AE%98%E7%BD%91TL262%C2%B7C%EF%BC%AFM%E9%82%AF%E9%83%B8%E7%83%AD%E9%97%A8%EF%BC%98%EF%BF%A5https://www.fastsoso.cc/search?k=%E8%80%81%E8%A1%97%E7%8E%89%E7%A5%A5%E6%89%8B%E6%9C%BA%E5%8F%AF%E4%BB%A5%E7%8E%A9%E5%90%97%E7%9B%B4%E8%90%A5%E7%BD%91B2024.CN%E8%9A%8C%E5%9F%A0%E9%93%81%E9%80%9A%EF%BD%9A%EF%BD%8C

0 回复 有任何疑惑可以回复我~

你的问题属于业务逻辑层面。redis里的10条数据仅仅作为入场劵,并不耦合其他业务逻辑,之后队列处理时候再走订单逻辑就好了。

0 回复 有任何疑惑可以回复我~
#1

编程小萝卜

专业啊老哥
2019-02-12 回复 有任何疑惑可以回复我~

获取10条数据肯定是取最先付款的10个用户

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
PHP消息队列实现及应用
  • 参与学习       32167    人
  • 解答问题       58    个

消息队列是个什么玩意儿,使用队列解决秒杀等实际问题概念和使用方法

进入课程

还有点问题没明白

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信