Commit 2d91bbd4 2d91bbd43ada20b73b128b68087d3119a891a091 by lemon

*

1 parent 16d32442
......@@ -25,7 +25,7 @@ class MusicianWithdrawService extends Service
{
$order_id = $this->request->input('order_id');
if (!RedisClient::instance()->set(str_replace('#order#', $order_id, config('cachekey.withdraw.prepare')), true, ["nx", "ex" => 3])) {
if (!RedisClient::instance()->set(str_replace('#order#', $order_id, config('cachekey.withdraw.prepare')), true, "nx", "ex", 3)) {
return $this->error(ErrorCode::REPEAT_SUBMIT);
}
......@@ -80,7 +80,7 @@ class MusicianWithdrawService extends Service
{
$order_id = $this->request->input('order_id');
if (!RedisClient::instance()->set(str_replace('#order#', $order_id, config('cachekey.withdraw.audit')), true, ["nx", "ex" => 3])) {
if (!RedisClient::instance()->set(str_replace('#order#', $order_id, config('cachekey.withdraw.audit')), true, "nx", "ex", 3)) {
return Response::error(ErrorCode::REPEAT_SUBMIT);
}
......