mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 01:11:46 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -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, '创建失败'); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user