Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hsWebHttpClient
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何虹
hsWebHttpClient
Commits
064f25bd
Commit
064f25bd
authored
Nov 23, 2021
by
何虹
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restful加入get方法
parent
1d487497
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
restful.js
src/packages/modules/restful.js
+10
-0
No files found.
src/packages/modules/restful.js
View file @
064f25bd
...
@@ -111,5 +111,15 @@ class RestFul {
...
@@ -111,5 +111,15 @@ class RestFul {
}
}
return
this
.
requestClient
.
delete
(
url_
,
bodyData
,
parms
)
return
this
.
requestClient
.
delete
(
url_
,
bodyData
,
parms
)
}
}
// 兼容新版java的ref查询
get
(
data
){
this
.
packParamHandle
(
data
)
const
{
tableName
,
appCode
,
parms
,
group
}
=
data
let
url_
=
`
${
this
.
MODULE_API
}${
appCode
}
/
${
tableName
}
/`
if
(
group
)
{
url_
=
`
${
url_
}${
group
}
/`
}
return
this
.
requestClient
.
get
(
url_
,
parms
)
}
}
}
export
default
RestFul
export
default
RestFul
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