From 8b60d786b219c1f9fecae63248f17a86f33c6f81 Mon Sep 17 00:00:00 2001 From: LLL <15374889135@163.com> Date: Sun, 18 May 2025 15:19:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/config.js | 7 +++++-- pages/student/login/login.vue | 7 +++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/common/config.js b/common/config.js index 9e76a6b..180e8cb 100644 --- a/common/config.js +++ b/common/config.js @@ -3,8 +3,11 @@ // const img_domian = 'http://aaaaaaaa.hksywl.cn/' //本地测试地址 -const Api_url='http://zhjw.cc/api' -const img_domian = 'http://zhjw.cc/' +// const Api_url='http://zhjw.cc/api' +// const img_domian = 'http://zhjw.cc/' + +const Api_url='http://146.56.228.75:20024/api' +const img_domian = 'http://146.56.228.75:20024/' const IsDemo = false diff --git a/pages/student/login/login.vue b/pages/student/login/login.vue index 2eea298..fc467ef 100644 --- a/pages/student/login/login.vue +++ b/pages/student/login/login.vue @@ -73,6 +73,13 @@ export default { let res //判断登陆类型|1=教练,2=销售,3=学员 if(this.loginType == 1){ + //销售 + let params = { + 'phone': this.user, + 'password': this.password1, + 'login_type': 1, + } + res = await apiRoute.personnelLogin(params) }else if(this.loginType == 2){ //销售 let params = {