@@ 275-279 (lines=5) @@ | ||
272 | $result = []; |
|
273 | $funcode = $params[static::TRADE_FUNCODE_KEY]; |
|
274 | foreach ($params as $key => $value) { |
|
275 | if (($funcode == static::TRADE_FUNCODE) |
|
276 | && !($key == static::TRADE_SIGNATURE_KEY || $key == static::SIGNATURE_KEY)) { |
|
277 | $result[$key] = $value; |
|
278 | continue; |
|
279 | } |
|
280 | if (($funcode == static::NOTIFY_FUNCODE || $funcode == static::FRONT_NOTIFY_FUNCODE) |
|
281 | && !($key == static::SIGNATURE_KEY)) { |
|
282 | $result[$key] = $value; |
|
@@ 280-284 (lines=5) @@ | ||
277 | $result[$key] = $value; |
|
278 | continue; |
|
279 | } |
|
280 | if (($funcode == static::NOTIFY_FUNCODE || $funcode == static::FRONT_NOTIFY_FUNCODE) |
|
281 | && !($key == static::SIGNATURE_KEY)) { |
|
282 | $result[$key] = $value; |
|
283 | continue; |
|
284 | } |
|
285 | if (($funcode == static::QUERY_FUNCODE) && |
|
286 | !($key == static::TRADE_SIGNATURE_KEY || $key == static::SIGNATURE_KEY)) { |
|
287 | $result[$key] = $value; |
|
@@ 285-289 (lines=5) @@ | ||
282 | $result[$key] = $value; |
|
283 | continue; |
|
284 | } |
|
285 | if (($funcode == static::QUERY_FUNCODE) && |
|
286 | !($key == static::TRADE_SIGNATURE_KEY || $key == static::SIGNATURE_KEY)) { |
|
287 | $result[$key] = $value; |
|
288 | continue; |
|
289 | } |
|
290 | } |
|
291 | ||
292 | return $result; |