*
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment