Commit c5d48700 by FE

quick login add plat param

parent 692129b4
...@@ -15,8 +15,10 @@ const accountLogin = user => dispatch => { ...@@ -15,8 +15,10 @@ const accountLogin = user => dispatch => {
} }
const quickLogin = user => dispatch => { const quickLogin = user => dispatch => {
return http.post(`${API['passport-api']}/quick_login`, user) return http.post(`${API['passport-api']}/quick_login`, {
.then(res => { ...user,
plat: 5
}).then(res => {
return storeUser(res, dispatch) return storeUser(res, dispatch)
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment