Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
Easy Http SDK
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Back End
Easy Http SDK
Commits
5d1dd142
Commit
5d1dd142
authored
Feb 17, 2023
by
谢宇轩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 适配php7.4以下的语法
parent
27a5e15e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Endpoint.temp
template/Endpoint.temp
+2
-2
No files found.
template/Endpoint.temp
View file @
5d1dd142
...
...
@@ -45,14 +45,14 @@ class {{ Endpoint }}
*
* @param Closure|null $catch
* @param Closure|null $then
* @return
array
* @return
mixed
*
* @throws ApplicationException
* @throws SdkException
* @throws TimeOutExcetpion
* @throws GuzzleException
*/
public
function
{{
item
.
Action
}}({{
item
.
Args
}}
?
Closure
$catch
=
null
,
?
Closure
$then
=
null
)
:
mixed
public
function
{{
item
.
Action
}}({{
item
.
Args
}}
?
Closure
$catch
=
null
,
?
Closure
$then
=
null
)
{
$url
=
"{{ item.Uri }}"
;
{
%
if
item
.
Join
|
length
>
0
%
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment