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 = {