Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
max_android_panel
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xin
max_android_panel
Commits
ba79a3fc
Commit
ba79a3fc
authored
3 years ago
by
zhangzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
list stores bug
parent
d6be6953
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
client/actions/getStore.js
+3
-3
No files found.
client/actions/getStore.js
View file @
ba79a3fc
...
...
@@ -44,7 +44,7 @@ const getStoreInfo = (data)=>{
};
const
listStores
=
()
=>
{
return
(
dispatch
)
=>
{
fetch
(
domain
+
'machine_pad/
power_cut_find
_store'
,{
fetch
(
domain
+
'machine_pad/
list
_store'
,{
credentials
:
'include'
,
method
:
'POST'
,
mode
:
'cors'
,
...
...
@@ -52,7 +52,7 @@ const listStores = ()=>{
body
:
JSON
.
stringify
({})
}).
then
((
response
)
=>
response
.
json
())
.
then
(
json
=>
{
UTILPATH
.
myLogger
.
info
(
"p
ower_cut_find_store
"
,
json
);
UTILPATH
.
myLogger
.
info
(
"p
ad list stores
"
,
json
);
if
(
json
.
meta
.
success
){
let
storeList
=
json
.
data
;
dispatch
(
saveStoreList
(
storeList
))
...
...
@@ -61,7 +61,7 @@ const listStores = ()=>{
//没有店铺信息
}
}).
catch
(
e
=>
{
UTILPATH
.
myLogger
.
error
(
`p
ower_cut_find_store
${
e
}
`
);
UTILPATH
.
myLogger
.
error
(
`p
ad list stores
${
e
}
`
);
dispatch
(
listStores
());
});
}
...
...
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