Showing
3 changed files
with
3 additions
and
3 deletions
@@ -29,7 +29,7 @@ class UserController extends Context { | @@ -29,7 +29,7 @@ class UserController extends Context { | ||
29 | shops: result.data, | 29 | shops: result.data, |
30 | currentShop: currentShop | 30 | currentShop: currentShop |
31 | }), sess); | 31 | }), sess); |
32 | -console.log(result.data) | 32 | + |
33 | return res.json({ | 33 | return res.json({ |
34 | code: 200, | 34 | code: 200, |
35 | data: { | 35 | data: { |
@@ -33,7 +33,7 @@ class UserService extends Context { | @@ -33,7 +33,7 @@ class UserService extends Context { | ||
33 | } | 33 | } |
34 | 34 | ||
35 | shopLogin(account, password) { | 35 | shopLogin(account, password) { |
36 | - return rp.post({ | 36 | + return rp.get({ |
37 | url: apiDomain.shop.login, | 37 | url: apiDomain.shop.login, |
38 | resolveWithFullResponse: true, | 38 | resolveWithFullResponse: true, |
39 | formData: { | 39 | formData: { |
-
Please register or login to post a comment