Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-merchant-data
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e1808ba2
authored
Jun 24, 2019
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
tiijoao
1 parent
2b6116b8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
src/api/businessGroupDetail.js
src/api/index.js
src/views/customer/businessGroupDetail/index.vue
src/api/businessGroupDetail.js
View file @
e1808ba
...
@@ -4,8 +4,8 @@ const methods = {
...
@@ -4,8 +4,8 @@ const methods = {
Search
:
`
${
path
}
group.search`
,
Search
:
`
${
path
}
group.search`
,
MerchantType
:
`
${
path
}
dict.type`
,
MerchantType
:
`
${
path
}
dict.type`
,
SearchChildList
:
`
${
path
}
group.search.param`
,
// 子商户根据商户号或者商户名搜索商户列表
SearchChildList
:
`
${
path
}
group.search.param`
,
// 子商户根据商户号或者商户名搜索商户列表
SearchList
:
`
${
path
}
group.search.parampar`
// 父商户根据商户号或者商户名搜索商户列表
SearchList
:
`
${
path
}
group.search.parampar`
,
// 父商户根据商户号或者商户名搜索商户列表
GetTree
:
`
${
path
}
tree`
}
}
export
{
export
{
methods
methods
...
...
src/api/index.js
View file @
e1808ba
...
@@ -22,9 +22,9 @@ const request = {
...
@@ -22,9 +22,9 @@ const request = {
params
.
timestamp
=
new
Date
().
getTime
()
params
.
timestamp
=
new
Date
().
getTime
()
params
.
v
=
'1.0.0'
params
.
v
=
'1.0.0'
params
.
format
=
'json'
params
.
format
=
'json'
// const url = process.env.NODE_ENV === 'production' ? 'router' : params.methods
const
url
=
process
.
env
.
NODE_ENV
===
'production'
?
'router'
:
params
.
method
//
return GlAxios.get(url, { 'params': sign(params) })
return
GlAxios
.
get
(
url
,
{
'params'
:
sign
(
params
)
})
return
GlAxios
.
get
(
'router'
,
{
'params'
:
sign
(
params
)
})
//
return GlAxios.get('router', { 'params': sign(params) })
}
}
}
}
export
{
export
{
...
...
src/views/customer/businessGroupDetail/index.vue
View file @
e1808ba
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
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 post a comment