mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update
This commit is contained in:
parent
34e71ff049
commit
2eb594a4fa
@ -26,7 +26,7 @@ class CouponController extends Controller
|
||||
'limit_use'
|
||||
]);
|
||||
|
||||
$params['code'] = Helper::guid();
|
||||
$params['code'] = Helper::randomChar(8);
|
||||
if (!Coupon::create($params)) {
|
||||
abort(500, '创建失败');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user