Authored by 陈峰

登录接口

... ... @@ -32,7 +32,7 @@ let domainApis = {
uploads: '/fileupload/uploads'
},
shop: {
login: '/login'
login: '/loginInter'
}
};
... ...
... ... @@ -29,7 +29,7 @@ class UserController extends Context {
shops: result.data,
currentShop: currentShop
}), sess);
console.log(result.data)
return res.json({
code: 200,
data: {
... ...
... ... @@ -33,7 +33,7 @@ class UserService extends Context {
}
shopLogin(account, password) {
return rp.post({
return rp.get({
url: apiDomain.shop.login,
resolveWithFullResponse: true,
formData: {
... ...