Commit 977d1672 by hanpeng

-mark- 登录模块test环境

parent 3ed1d837
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,7 @@
nc.reset() nc.reset()
$('#__nc').hide(); $('#__nc').hide();
$.ajax({ $.ajax({
url: 'https://devgw.medtap.cn/user/3.0/sendCode/login', url: 'https://testdevgw.medtap.cn/user/3.0/sendCode/login',
type: 'post', type: 'post',
async: true, async: true,
contentType: "application/json", contentType: "application/json",
......
...@@ -50,7 +50,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) { ...@@ -50,7 +50,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) {
} }
if(login.agencyId != ''){ //扫描代理商二维码进来的用户 if(login.agencyId != ''){ //扫描代理商二维码进来的用户
$.ajax({ $.ajax({
url: 'https://devgw.medtap.cn/user/loginUserByWechat', url: 'https://testdevgw.medtap.cn/user/loginUserByWechat',
type: 'post', type: 'post',
async: true, async: true,
dataType: 'json', dataType: 'json',
...@@ -89,7 +89,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) { ...@@ -89,7 +89,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) {
}); });
}else if(login.inviteCode != ''){ //兼容历史版本使用inviteCode做业务的使用场景 }else if(login.inviteCode != ''){ //兼容历史版本使用inviteCode做业务的使用场景
$.ajax({ $.ajax({
url: 'https://devgw.medtap.cn/user/loginUserByWechat', url: 'https://testdevgw.medtap.cn/user/loginUserByWechat',
type: 'post', type: 'post',
async: true, async: true,
dataType: 'json', dataType: 'json',
...@@ -128,7 +128,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) { ...@@ -128,7 +128,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) {
}); });
}else if(login.doctorId != ''){ //兼容历史版本使用doctorId做业务的使用场景 }else if(login.doctorId != ''){ //兼容历史版本使用doctorId做业务的使用场景
$.ajax({ $.ajax({
url: 'https://devgw.medtap.cn/user/loginUserByWechat', url: 'https://testdevgw.medtap.cn/user/loginUserByWechat',
type: 'post', type: 'post',
async: true, async: true,
dataType: 'json', dataType: 'json',
...@@ -167,7 +167,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) { ...@@ -167,7 +167,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) {
}); });
}else{ }else{
$.ajax({ $.ajax({
url: 'https://devgw.medtap.cn/user/loginUserByWechat', url: 'https://testdevgw.medtap.cn/user/loginUserByWechat',
type: 'post', type: 'post',
async: true, async: true,
dataType: 'json', dataType: 'json',
......
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