This commit is contained in:
root 2020-01-09 12:57:39 +08:00
parent a96ca5a363
commit ed0fe84687

View File

@ -50,8 +50,7 @@ class CommController extends Controller
abort(500, '发送失败');
}
Cache::put($redisKey, $code);
Redis::expire($redisKey, 600);
Cache::put($redisKey, $code, 10);
return response([
'data' => true
]);