Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-shop-manage
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈峰
2017-05-09 11:28:07 +0800
Commit
35ecf99da5082f6cc7a6442e7c1e9dbc7b45f40e
1 parent
c0128cec
登录接口
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
server/common/api-domain.js
server/controllers/user-controller.js
server/service/user-service.js
server/common/api-domain.js
View file @
35ecf99
...
...
@@ -32,7 +32,7 @@ let domainApis = {
uploads
:
'/fileupload/uploads'
},
shop
:
{
login
:
'/login'
login
:
'/login
Inter
'
}
};
...
...
server/controllers/user-controller.js
View file @
35ecf99
...
...
@@ -29,7 +29,7 @@ class UserController extends Context {
shops
:
result
.
data
,
currentShop
:
currentShop
}),
sess
);
console
.
log
(
result
.
data
)
return
res
.
json
({
code
:
200
,
data
:
{
...
...
server/service/user-service.js
View file @
35ecf99
...
...
@@ -33,7 +33,7 @@ class UserService extends Context {
}
shopLogin
(
account
,
password
)
{
return
rp
.
pos
t
({
return
rp
.
ge
t
({
url
:
apiDomain
.
shop
.
login
,
resolveWithFullResponse
:
true
,
formData
:
{
...
...
Please
register
or
login
to post a comment