From 45fd74cc85fa2afdbb29a78079f3849e882ac194 Mon Sep 17 00:00:00 2001 From: Ge Hao Date: Thu, 22 Dec 2016 14:59:16 +0800 Subject: [PATCH] path change to sessions/login --- utils/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/profile.js b/utils/profile.js index 6e70466..bc8f1fe 100644 --- a/utils/profile.js +++ b/utils/profile.js @@ -13,7 +13,7 @@ function postCustomerInfo (data, cb) { data['code'] = app.globalData.code data['encrypted'] = app.globalData.encrypted app.request({ - url: `${app.globalData.API_URL}/sessions/new`, + url: `${app.globalData.API_URL}/sessions/login`, method: 'POST', data: data, success: function(res) {