Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

秒杀缺少方法 #15

Closed
kechujian opened this issue Jan 13, 2020 · 1 comment
Closed

秒杀缺少方法 #15

kechujian opened this issue Jan 13, 2020 · 1 comment

Comments

@kechujian
Copy link

秒杀过程缺少方法
// 创建一个秒杀主表订单和明细表订单,默认数量一个
$masterOrder = $this->newMasterOrder($addressId)->setAttribute('type', OrderTypeEnum::SEC_KILL);
$this->storeSingleOrder($masterOrder, $redisSeckill->product->uuid, 1);

@seth-shi
Copy link
Owner

@kechujian 已修复此问题,thx.
45acb25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants