Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5f25d487
authored
Jun 04, 2021
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
x
parent
edf76bda
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletions
src/api/index.js
src/store/modules/sample/index.js
view/app.js
src/api/index.js
View file @
5f25d487
...
@@ -491,6 +491,10 @@ export const apis = {
...
@@ -491,6 +491,10 @@ export const apis = {
*/
*/
ZiYingIndex
:
zyApi
+
'/search/ZiYing/index'
,
ZiYingIndex
:
zyApi
+
'/search/ZiYing/index'
,
/**
/**
* 自营搜索样片
*/
ZiYingIndexYp
:
zyApi
+
'/search/Sample/zyh'
,
/**
* 获取banner
* 获取banner
*/
*/
getsamplebanner
:
url
+
'/getsamplebanner'
,
getsamplebanner
:
url
+
'/getsamplebanner'
,
...
@@ -889,6 +893,9 @@ export const services = {
...
@@ -889,6 +893,9 @@ export const services = {
ZiYingIndex
(
params
)
{
ZiYingIndex
(
params
)
{
return
axios
.
post
(
apis
.
ZiYingIndex
,
params
)
return
axios
.
post
(
apis
.
ZiYingIndex
,
params
)
},
},
ZiYingIndexYp
(
params
)
{
return
axios
.
post
(
apis
.
ZiYingIndexYp
,
params
)
},
getsamplebanner
(
params
)
{
getsamplebanner
(
params
)
{
return
axios
.
post
(
apis
.
getsamplebanner
,
params
)
return
axios
.
post
(
apis
.
getsamplebanner
,
params
)
},
},
...
...
src/store/modules/sample/index.js
View file @
5f25d487
...
@@ -99,7 +99,7 @@ const actions = {
...
@@ -99,7 +99,7 @@ const actions = {
let
params
=
Util
.
getParams
(
obj
);
let
params
=
Util
.
getParams
(
obj
);
Services
.
ZiYingIndex
(
params
).
then
((
res
)
=>
{
Services
.
ZiYingIndex
Yp
(
params
).
then
((
res
)
=>
{
Toast
.
clear
();
Toast
.
clear
();
let
data
=
res
.
data
;
let
data
=
res
.
data
;
state
.
loading
=
false
;
state
.
loading
=
false
;
...
...
view/app.js
View file @
5f25d487
This diff is collapsed.
Click to expand it.
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