Commit 2d91bbd4 2d91bbd43ada20b73b128b68087d3119a891a091 by lemon

*

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