正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -109,6 +109,7 @@ class Application | @@ -109,6 +109,7 @@ class Application | ||
| 109 | $option->setTimeout((float)Arr::get($options, 'timeout', 5)); | 109 | $option->setTimeout((float)Arr::get($options, 'timeout', 5)); |
| 110 | $option->setEnableMock((bool)Arr::get($options, 'enable_mock')); | 110 | $option->setEnableMock((bool)Arr::get($options, 'enable_mock')); |
| 111 | $option->setSignMethod((string)Arr::get($options, 'sign_method', 'sha256')); | 111 | $option->setSignMethod((string)Arr::get($options, 'sign_method', 'sha256')); |
| 112 | + $option->setVersion((string)Arr::get($options, 'version', '2')); | ||
| 112 | return $option; | 113 | return $option; |
| 113 | } | 114 | } |
| 114 | 115 |
-
请 注册 或 登录 后发表评论