Commit c5d48700 by FE

quick login add plat param

parent 692129b4
......@@ -15,8 +15,10 @@ const accountLogin = user => dispatch => {
}
const quickLogin = user => dispatch => {
return http.post(`${API['passport-api']}/quick_login`, user)
.then(res => {
return http.post(`${API['passport-api']}/quick_login`, {
...user,
plat: 5
}).then(res => {
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