From 7c12c14ec688d9165a2b9a8105ead245056298fa Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Tue, 2 Apr 2019 13:39:46 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=A2=9E=E5=8A=A0=E4=B8=93=E9=A2=98=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=8E=A5=E5=8F=A3][=E5=A2=9E=E5=8A=A0]:[=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=B8=93=E9=A2=98=E6=98=BE=E7=A4=BA=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.js | 6 +++++- pages/main/index.js | 36 ++++++++++++++++++------------------ 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/config/config.js b/config/config.js index 823a6f9..e91985d 100755 --- a/config/config.js +++ b/config/config.js @@ -251,7 +251,11 @@ var config = { /** * 查询是否已参团 */ - queryAttendStatus:'/orderGroup/queryAttendStatus' + queryAttendStatus:'/orderGroup/queryAttendStatus', + /** + * 专题 + */ + topicShow:"/topic/show" }, weapp: { AppId: weappId diff --git a/pages/main/index.js b/pages/main/index.js index f4f8f41..ee49677 100644 --- a/pages/main/index.js +++ b/pages/main/index.js @@ -459,24 +459,24 @@ Page({ /** * car共同登录 */ - userCarLogin: function() { - var that = this; - if (!app.globalData.carLogin) { - // 共同登录 - Http.post({ - url: config.api.carInit, - data: { - phone: app.globalData.phone - } - }).then(res => { - app.globalData.carLogin = true; - app.globalData.parkVendor = res.data.vendor; - if (res.data.token != "undefined") { - app.globalData.etcpToken = res.data.token; - } - }); - } - }, + // userCarLogin: function() { + // var that = this; + // if (!app.globalData.carLogin) { + // // 共同登录 + // Http.post({ + // url: config.api.carInit, + // data: { + // phone: app.globalData.phone + // } + // }).then(res => { + // app.globalData.carLogin = true; + // app.globalData.parkVendor = res.data.vendor; + // if (res.data.token != "undefined") { + // app.globalData.etcpToken = res.data.token; + // } + // }); + // } + // }, /** * 获取用户信息 */